From d64e9c2b2338d018a2a99304430890bbe6845ed0 Mon Sep 17 00:00:00 2001 From: wo-o Date: Fri, 1 Nov 2024 14:12:49 +0900 Subject: [PATCH] workflow --- .github/workflows/ci-docker-hub.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-docker-hub.yml b/.github/workflows/ci-docker-hub.yml index 4a7e672a7..d37b95b80 100644 --- a/.github/workflows/ci-docker-hub.yml +++ b/.github/workflows/ci-docker-hub.yml @@ -6,9 +6,6 @@ on: tags: - '*' -env: - DOCKERHUB_REPOSITORY: jinnuae40/story-geth - jobs: # Build and upload the geth binary build_and_push: @@ -20,11 +17,10 @@ jobs: - name: Set build arguments run: | - echo "REPOSITORY_URI=$DOCKERHUB_REPOSITORY" >> $GITHUB_ENV - + echo "REPOSITORY_URI=${{ vars.DOCKERHUB_REPOSITORY }}" >> $GITHUB_ENV echo "COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV echo "VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV - echo "BUILDNUM=$GITHUB_RUN_NUMBER" >> $GITHUB_ENV + echo "BUILDNUM=${{ github.run_number }}" >> $GITHUB_ENV - name: Setup Docker Buildx uses: docker/setup-buildx-action@v1