change push order && fix push command
All checks were successful
Continuous Releases / build (push) Successful in 2m47s
All checks were successful
Continuous Releases / build (push) Successful in 2m47s
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user