From 5109af94a384192b78da5784141f16c29f3fa7df Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 12 Feb 2024 16:01:56 +0100 Subject: [PATCH] login to docker registries (#1744) Signed-off-by: Kristoffer Dalby --- .github/workflows/release.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 72eddbcb..7929ac56 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,19 @@ jobs: with: fetch-depth: 0 + - name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Login to GHCR + uses: docker/login-action@v1 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main