File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -25,27 +25,17 @@ jobs:
2525 - name : Set up docker builder
2626 uses : docker/setup-buildx-action@v3
2727
28- - name : lowercase github.repository
29- run : |
30- echo "IMAGE_NAME=`echo ${{github.repository}} | tr '[:upper:]' '[:lower:]'`" >>${GITHUB_ENV}
31-
3228 - name : Login to github container registry
3329 uses : docker/login-action@v3
3430 with :
3531 registry : ${{ env.REGISTRY }}
3632 username : ${{ github.actor }}
3733 password : ${{ secrets.GITHUB_TOKEN }}
3834
39- - name : Build and export to docker
40- uses : docker/build-push-action@v5
41- with :
42- context : .
43- load : true
44- tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
45-
4635 - name : Build and push image to github container registry
4736 uses : docker/build-push-action@v5
4837 with :
4938 context : .
39+ load : true
5040 push : true
51- tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
41+ tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
You can’t perform that action at this time.
0 commit comments