.gitea/workflows/registry.yml aktualisiert
All checks were successful
release-tag / release-image (push) Successful in 3m36s

This commit is contained in:
2025-03-31 08:09:13 +00:00
parent 6499510dd7
commit d326bd4213

View File

@@ -7,7 +7,7 @@ jobs:
release-image:
runs-on: ubuntu-fast
env:
DOCKER_ORG: ${{ secrets.DOCKER_ORG }}
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."${{ secrets.DOCKER_REGISTRY }}"]
[registry."${{ vars.DOCKER_REGISTRY }}"]
http = true
insecure = true
- name: Login to DockerHub
uses: docker/login-action@v2
with:
registry: ${{ secrets.DOCKER_REGISTRY }} # 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
${{ secrets.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
${{ secrets.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}
${{ 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 }}