Skip to content

Commit

Permalink
switch to ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Jan 16, 2024
1 parent 0f9b945 commit 2d8aa10
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v4
-
name: Docker meta
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v5
with:
images: wipac/${{ github.event.repository.name }}
images: |
ghcr.io/WIPACRepo/publication-web-db
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
Expand All @@ -27,10 +26,10 @@ jobs:
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit 2d8aa10

Please sign in to comment.