Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Commit

Permalink
fix: 無法順利讀取 secret 的值,索性先直接定義在 actions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zx1986 committed Feb 8, 2022
1 parent f02fe7a commit 5c22bd9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ env:
IMAGE_NAME: auto-build-image
GITHUB_OWNER: larvatatw
DOCKERHUB_OWNER: larvata
DOCKER_VERSION: 19.03.12
DOCKER_DRIVER: overlay2

jobs:

Expand Down Expand Up @@ -41,9 +43,6 @@ jobs:
name: Build and push
id: docker_build
uses: docker/build-push-action@v2
env:
DOCKER_VERSION: ${{ secrets.DOCKER_VERSION }}
DOCKER_DRIVER: ${{ secrets.DOCKER_DRIVER }}
with:
push: true
context: .
Expand Down

0 comments on commit 5c22bd9

Please sign in to comment.