ci: Switch to personal registry
Some checks failed
Release / release (push) Failing after 7s
Python CI / Format Backend (3.11) (push) Failing after 5s
Frontend Build / Format & Build Frontend (push) Successful in 1m11s
Create and publish a Docker image / build-and-push-image (push) Failing after 13m9s

This commit is contained in:
Tibo De Peuter 2024-04-09 15:45:27 +02:00
parent fd5bf819cc
commit 618619eca3
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2

View file

@ -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