Skip to content

Commit

Permalink
inputs instead of secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
feederbox826 committed Jun 17, 2024
1 parent 1afcd13 commit 6f6421c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
docker.io/${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}
tags: |
secrets.tag1
secrets.tag2
${{ inputs.tag1 }}
${{ inputs.tag2 }}
- uses: docker/login-action@v3
with:
registry: ghcr.io
Expand All @@ -66,7 +66,7 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
STASH_TAG=${{ secrets.upstream }}
STASH_TAG=${{ inputs.upstream }}
BUILD_DATE=${{ env.TIMESTAMP }}
env:
SOURCE_DATE_EPOCH: ${{ env.TIMESTAMP }}
6 changes: 3 additions & 3 deletions .github/workflows/docker-hwaccel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
docker.io/${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}
tags: |
secrets.tag1
secrets.tag2
${{ inputs.tag1 }}
${{ inputs.tag2 }}
- uses: docker/login-action@v3
with:
registry: ghcr.io
Expand All @@ -66,7 +66,7 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
STASH_TAG=${{ secrets.upstream }}
STASH_TAG=${{ inputs.upstream }}
BUILD_DATE=${{ env.TIMESTAMP }}
env:
SOURCE_DATE_EPOCH: ${{ env.TIMESTAMP }}

0 comments on commit 6f6421c

Please sign in to comment.