Skip to content

Commit

Permalink
add docker token
Browse files Browse the repository at this point in the history
  • Loading branch information
benlee0423 committed Jan 3, 2024
1 parent 5b5af0e commit 4916918
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docker_deps_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ on:
tag_name:
required: true
type: string

docker-auth-token:
required: true
type: string
jobs:
build-and-push:
runs-on: self-hosted
Expand All @@ -20,11 +22,11 @@ jobs:
steps:
- name: deploy
uses: actions/checkout@v2
- run: echo "auth is ${{ secrets.DOCKER_AUTH_TOKEN }}"
- run: echo "auth is ${{inputs.docker-auth-token}}"
- name: Build and push Docker image
uses: ./.github/action_templates/build-and-push
with:
docker-auth-token: ${{ secrets.DOCKER_AUTH_TOKEN }}
docker-auth-token: ${{inputs.docker-auth-token}}
github-sha: ${{ github.sha }}
image-name: "ngen-deps"
dockerfile-name: "Dockerfile.ngen-deps"
Expand Down

0 comments on commit 4916918

Please sign in to comment.