change push order && fix push command
All checks were successful
Continuous Releases / build (push) Successful in 2m47s

This commit is contained in:
Eau
2026-03-20 02:10:02 -05:00
parent 91c4e76912
commit 0d60a273f2

View File

@@ -30,9 +30,8 @@ jobs:
- run: git config --global user.name "Build Pipeline"
- run: git config --global user.email "noreply@example.com"
- run: git add version.txt && git commit -m "${{ env.VERSION_FRAGMENT }} version increment [skip actions]" && git tag ${{ env.CURRENT_VERSION }}
- run: git push
- run: mkdir -p /etc/secrets || true
- run: printf '%s' "${{ secrets.CI_ACCESS }}" > /etc/secrets/docker.txt
- run: docker login --username ${{ env.GITHUB_ACTOR }} --password-stdin tea.werats.gay < /etc/secrets/docker.txt
- run: docker build . -t ${{ env.IMAGE_NAME }}:latest -t ${{ env.IMAGE_NAME }}:${{ env.CURRENT_VERSION}} --build-arg UBUNTU_VERSION=${{ env.UBUNTU_VERSION }}
- run: docker push -a ${{ env.IMAGE_NAME }}:${{ env.CURRENT_VERSION}}
- run: docker push -a ${{ env.IMAGE_NAME }} && git push