File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed
Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,8 @@ concurrency:
1010 group : ${{ github.workflow }}-${{ github.ref }}
1111 cancel-in-progress : true
1212
13- # env:
14- # GITHUB_IMAGE_NAME: ${{ github.repository }}
15- # GITHUB_REGISTRY: ghcr.io
13+ env :
14+ GITHUB_IMAGE_NAME : ${{ github.repository }}
1615
1716jobs :
1817 build :
@@ -22,18 +21,11 @@ jobs:
2221 steps :
2322 - uses : actions/checkout@v4
2423
25- # - name: Login to ${{ env.GITHUB_REGISTRY }}
26- # uses: docker/login-action@v3
27- # with:
28- # registry: ${{ env.GITHUB_REGISTRY }}
29- # username: ${{ github.actor }}
30- # password: ${{ secrets.GITHUB_TOKEN }}
31-
32- - name : Build and Push Image
24+ - name : Build Image
3325 uses : docker/build-push-action@v6
3426 with :
3527 context : .
3628 # push: true
3729 tags : |
38- ${{ env.GITHUB_REGISTRY }}/${{ env. GITHUB_IMAGE_NAME }}
39- ${{ env.GITHUB_REGISTRY }}/${{ env. GITHUB_IMAGE_NAME }}:${{ github.ref_name }}
30+ ${{ env.GITHUB_IMAGE_NAME }}
31+ ${{ env.GITHUB_IMAGE_NAME }}:${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments