File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ jobs:
39
39
password : ${{ secrets.GITHUB_TOKEN }}
40
40
41
41
42
- # Build Docker Image
42
+ # Build and tag Docker Image
43
43
- name : Build Docker Image
44
44
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
47
47
48
48
- name : Wait for Docker container to be ready
49
49
run : sleep 30
54
54
# Push the Docker image to the registry
55
55
- name : Push Docker Image to GHCR
56
56
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 }}
58
58
docker push ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:latest
You can’t perform that action at this time.
0 commit comments