Skip to content

Commit

Permalink
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 <tim.orling@konsulko.com>
  • Loading branch information
moto-timo committed Jan 6, 2024
1 parent f2688ee commit 52bb1ac
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,6 +15,8 @@ on:
jobs:
build-test-deploy:
runs-on: ubuntu-latest
permissions:
packages: write
strategy:
fail-fast: false
matrix:
Expand All @@ -36,6 +38,8 @@ jobs:
DEFAULT_DISTRO: ubuntu-18.04
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 52bb1ac

Please sign in to comment.