From aff6794a0b9d256d1595fa4cb4fc63f316ac2cb7 Mon Sep 17 00:00:00 2001 From: LordOfBug <49218810+LordOfBug@users.noreply.github.com> Date: Tue, 23 Jan 2024 20:10:18 +0800 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 0abeaa2..cb2feb2 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -11,17 +11,17 @@ env: REGISTRY: docker.io # github.repository as / IMAGE_NAME: ${{ github.repository }} + REPO_BASE: ${{ secrets.REPO_BASE }} jobs: build: runs-on: ubuntu-latest + environment: Build steps: - uses: actions/checkout@v4 - name: Show base - env: - REPO_BASE: ${{ secrets.REPO_BASE }} run: echo "$GITHUB_CONTEXT" - name: Log in to Docker Hub @@ -31,6 +31,4 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} - name: Build the Docker image - env: - REPO_BASE: ${{ secrets.REPO_BASE }} run: ./k8s/build.sh v1.0.0