From 84bccf13da0aaf09a02993c8aca3a85bcfbb9905 Mon Sep 17 00:00:00 2001 From: liqiang-fit2cloud Date: Fri, 18 Jun 2021 17:52:06 +0800 Subject: [PATCH] chore: Test GitHub Action. --- .github/workflows/publish-to-dockerhub.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/publish-to-dockerhub.yml b/.github/workflows/publish-to-dockerhub.yml index aab1d4e..2b250bd 100644 --- a/.github/workflows/publish-to-dockerhub.yml +++ b/.github/workflows/publish-to-dockerhub.yml @@ -25,13 +25,11 @@ jobs: --build-arg BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \ --build-arg VCS_REF=${GITHUB_SHA::8} \ ${DOCKER_IMAGE_TAGS} . - sed -i '2i\VERSION = ${TAG_NAME}' gotty/Makefile - cat gotty/Makefile + sed -i "2i\VERSION = ${TAG_NAME}" gotty/Makefile - name: Set up Docker Buildx uses: crazy-max/ghaction-docker-buildx@v3 - name: Docker Buildx (build) run: | - cat gotty/Makefile docker buildx build --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - name: Login to DockerHub uses: docker/login-action@v1