File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -21,16 +21,10 @@ jobs:
21
21
- name : login to GitHub Container Registry
22
22
run : echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
23
23
24
- - name : Set up Docker Buildx
25
- uses : docker/setup-buildx-action@v1
26
- id : buildx
27
- with :
28
- install : true
29
-
30
24
- name : publish
31
25
run : |
32
- export GIT_VERSION=$(git describe --always --tags)
33
- export IMAGE_TAG?=$(GIT_VERSION)
26
+ GIT_VERSION=$(git describe --always --tags)
27
+ IMAGE_TAG?=$(GIT_VERSION)
34
28
docker build --file Dockerfile --progress plane --tag ghcr.io/${{ github.repository }}:$(IMAGE_TAG) --cache-from ghcr.io/${{ github.repository }}:latest .
35
29
docker build --file Dockerfile --progress plane --push --tag ghcr.io/${{ github.repository }} --cache-from ghcr.io/${{ github.repository }}:latest .
36
30
docker build --file Dockerfile --progress plane --push --tag ghcr.io/${{ github.repository }} --cache-from ghcr.io/${{ github.repository }}:$(IMAGE_TAG) .
You can’t perform that action at this time.
0 commit comments