Skip to content

Commit

Permalink
Set registry to ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNaessens committed Jun 9, 2024
1 parent 7f5170f commit 1c112a8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- 'master'

env:
REGISTRY: ghcr.io

jobs:
docker:
runs-on: ubuntu-latest
Expand All @@ -27,15 +30,14 @@ jobs:
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v5
env:
SECRET_KEY_BASE: ${{ secrets.SECRET_KEY_BASE_DUMMY }}
with:
registry: ghcr.io
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 1c112a8

Please sign in to comment.