From 618619eca3960dcf7d19f41dbdcdc84a8d327780 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Tue, 9 Apr 2024 15:45:27 +0200 Subject: [PATCH] ci: Switch to personal registry --- .github/workflows/docker-build.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-build.yaml b/.github/workflows/docker-build.yaml index bb71de8b..52fd305c 100644 --- a/.github/workflows/docker-build.yaml +++ b/.github/workflows/docker-build.yaml @@ -12,13 +12,16 @@ on: # Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds. env: - REGISTRY: ghcr.io + REGISTRY: git.depeuter.dev IMAGE_NAME: ${{ github.repository }} + RUNNER_TOOL_CACHE: /toolcache # There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu. jobs: build-and-push-image: runs-on: ubuntu-latest + container: + image: catthehacker/ubuntu:act-latest # Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job. permissions: contents: read @@ -39,7 +42,7 @@ jobs: with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ secrets.CI_TOKEN }} - name: Extract metadata for Docker images id: meta