From 7a517e08eed6445d19be8567b29661b1ef9472b1 Mon Sep 17 00:00:00 2001 From: sd109 Date: Fri, 30 Aug 2024 13:45:39 +0100 Subject: [PATCH] Adapt workflow to use ghcr.io --- .../docker-build-push-backend-container-on-tag.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-build-push-backend-container-on-tag.yml b/.github/workflows/docker-build-push-backend-container-on-tag.yml index 8b77af29df7..547730ba55a 100644 --- a/.github/workflows/docker-build-push-backend-container-on-tag.yml +++ b/.github/workflows/docker-build-push-backend-container-on-tag.yml @@ -11,21 +11,21 @@ env: jobs: build-and-push: # TODO: make this a matrix build like the web containers - runs-on: - group: amd64-image-builders + runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Login to Docker Hub + - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_TOKEN }} + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Backend Image Docker Build and Push uses: docker/build-push-action@v5