diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index 2288644..895e27e 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -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}} @@ -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: