File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ jobs:
3939 password : ${{ secrets.GITHUB_TOKEN }}
4040
4141
42- # Build Docker Image
42+ # Build and tag Docker Image
4343 - name : Build Docker Image
4444 run : |
45- docker build -t ghcr.io/${{ github.repository_owner }}:${{ steps.meta.outputs.tags }} .
46- docker tag ghcr.io/ ${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tags }} ghcr.io/${{ github.repository_owner }}/ ${{ env.IMAGE_NAME }}:latest
45+ docker build -t ghcr.io/${{ steps.meta.outputs.tags }} .
46+ docker tag ${{ env.IMAGE_NAME }} ghcr.io/$${{ steps.meta.outputs.tags }}:latest
4747
4848 - name : Wait for Docker container to be ready
4949 run : sleep 30
5454 # Push the Docker image to the registry
5555 - name : Push Docker Image to GHCR
5656 run : |
57- docker push ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tags }}
57+ docker push ghcr.io/${{ steps.meta.outputs.tags }}
5858 docker push ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:latest
You can’t perform that action at this time.
0 commit comments