Skip to content

Commit

Permalink
fixing push logic in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TRudenko22 committed May 22, 2023
1 parent bbdec6c commit 4ee4937
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/push-to-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,8 @@ jobs:
with:
go-version: 1.20

- name: Quay Login
uses: docker/login-action@v1
with:
registry: quay.io
username: ${{ env.QUAY_USERNAME }}
password: ${{ env.QUAY_PASSWORD }}

- name: Build and Push
uses: docker/build-push-action@v2
with:
push: true
tags: quay.io/${{ env.REPO }}/${{ env.IMAGE }}:${{ env.TAG }}
context: .
- name: Build and push
run: |
docker login -u ${{ env.QUAY_USERNAME }} -p ${{ env.QUAY_PASSWORD }} quay.io
make docker-build IMG=quay.io/${{ env.REPO }}/${{ env.IMAGE }}:${{ env.TAG }}
make docker-push IMG=quay.io/${{ env.REPO }}/${{ env.IMAGE }}:${{ env.TAG }}

0 comments on commit 4ee4937

Please sign in to comment.