Skip to content

Commit d467ffb

Browse files
committed
update workflow
1 parent 4ccc9ed commit d467ffb

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,10 @@ jobs:
2121
- name: login to GitHub Container Registry
2222
run: echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
2323

24-
- name: Set up Docker Buildx
25-
uses: docker/setup-buildx-action@v1
26-
id: buildx
27-
with:
28-
install: true
29-
3024
- name: publish
3125
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)
3428
docker build --file Dockerfile --progress plane --tag ghcr.io/${{ github.repository }}:$(IMAGE_TAG) --cache-from ghcr.io/${{ github.repository }}:latest .
3529
docker build --file Dockerfile --progress plane --push --tag ghcr.io/${{ github.repository }} --cache-from ghcr.io/${{ github.repository }}:latest .
3630
docker build --file Dockerfile --progress plane --push --tag ghcr.io/${{ github.repository }} --cache-from ghcr.io/${{ github.repository }}:$(IMAGE_TAG) .

0 commit comments

Comments
 (0)