Skip to content

Commit

Permalink
update build action
Browse files Browse the repository at this point in the history
  • Loading branch information
ugenef authored Nov 14, 2021
1 parent 9770f96 commit 014701a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Create image tag
run: echo "IMAGE_TAG=ghcr.io/${{ secrets.GHCR_USERNAME }}/simple-pipeline/example-back:${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
run: echo "IMAGE_TAG=ghcr.io/${{ secrets.GHCR_USERNAME }}/simple-infrastructure/example-back:${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Build the image
run: docker build --file back/Sol.HttpApi/Dockerfile --tag ${{ env.IMAGE_TAG }} example-backend
run: docker build --file example-backend/HttpApi/Dockerfile --tag ${{ env.IMAGE_TAG }} example-backend
- name: Login the registry
run: docker login ghcr.io -u ${{ secrets.GHCR_USERNAME }} -p ${{ secrets.GHCR_TOKEN }}
- name: Push the image
Expand Down

0 comments on commit 014701a

Please sign in to comment.