From f3ff7713f958f826493742ed444e3d61e19c34c5 Mon Sep 17 00:00:00 2001 From: Nico640 Date: Tue, 24 Nov 2020 23:42:41 +0100 Subject: [PATCH] fix workflow --- .github/workflows/docker-tag.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/docker-tag.yml b/.github/workflows/docker-tag.yml index 4709f66..5344994 100644 --- a/.github/workflows/docker-tag.yml +++ b/.github/workflows/docker-tag.yml @@ -12,12 +12,9 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - - name: Get tag - run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10} - name: Login to DockerHub run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin - name: Build and push Docker image - run: docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t nico640/s6-alpine-node:$RELEASE_VERSION -f Dockerfile --push . + run: docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t nico640/s6-alpine-node:${{ github.event.release.tag_name }} -f Dockerfile --push .