From 337866fad7e03783cfa2df013e4a6c03bb4327bc Mon Sep 17 00:00:00 2001 From: jbergner Date: Mon, 31 Mar 2025 08:23:51 +0000 Subject: [PATCH] .gitea/workflows/registry.yml aktualisiert --- .gitea/workflows/registry.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/registry.yml b/.gitea/workflows/registry.yml index 17c6f55..20912ac 100644 --- a/.gitea/workflows/registry.yml +++ b/.gitea/workflows/registry.yml @@ -5,9 +5,9 @@ on: - 'main' jobs: release-image: - runs-on: ubuntu-latest + runs-on: ubuntu-fast env: - DOCKER_ORG: sendnrw + DOCKER_ORG: ${{ vars.DOCKER_ORG }} DOCKER_LATEST: latest RUNNER_TOOL_CACHE: /toolcache steps: @@ -21,14 +21,14 @@ jobs: uses: docker/setup-buildx-action@v2 with: # replace it with your local IP config-inline: | - [registry."git.send.nrw"] + [registry."${{ vars.DOCKER_REGISTRY }}"] http = true insecure = true - name: Login to DockerHub uses: docker/login-action@v2 with: - registry: git.send.nrw # replace it with your local IP + registry: ${{ vars.DOCKER_REGISTRY }} # replace it with your local IP username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} @@ -47,5 +47,5 @@ jobs: linux/amd64 push: true tags: | # replace it with your local IP and tags - git.send.nrw/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} - git.send.nrw/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }} \ No newline at end of file + ${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} + ${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }} \ No newline at end of file