Skip to content

Commit

Permalink
github/workflows: set GHCR variables
Browse files Browse the repository at this point in the history
Set the required variables to allow pushing containers to ghcr.io

Signed-off-by: Tim Orling <[email protected]>
  • Loading branch information
moto-timo committed Dec 22, 2023
1 parent 425bc14 commit b5174dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ on:
jobs:
build-test-deploy:
runs-on: ubuntu-latest
permissions:
packages: write
env:
REPO: crops/samba
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
GHCR_USERNAME: ${{ github.actor }}
GHCR_PASSWORD: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit b5174dd

Please sign in to comment.