Skip to content

Commit

Permalink
Docker build & tag in one step
Browse files Browse the repository at this point in the history
  • Loading branch information
dotemacs committed Jul 24, 2024
1 parent 3256078 commit 9956487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ jobs:
IMAGE_TAG: ${{ github.sha }}
REPO_TAG: "fb-editor:${{ github.sha }}"
run: |
docker build -f docker/web/Dockerfile -t ${{ env.REPOSITORY }} .
docker build -f docker/web/Dockerfile -t ${{ env.REPO_TAG }} .
docker tag ${{ env.REPO_TAG }} ${{ env.REGISTRY }}/${{ env.REPO_TAG}}
docker push ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:${{ env.IMAGE_TAG }}

0 comments on commit 9956487

Please sign in to comment.