adopt to new Gitea Server
Build and Push Keycloak Docker Image / build (push) Successful in 2m34s

This commit is contained in:
Thomas Boksberger committed 2026-06-29 07:37:40 +02:00
1 parent 69815e3ff5
commit 04ce3f1493
1 file changed
+8 -8
+8 -8
View File
@@ -14,15 +14,15 @@ jobs:
- name: Login to Registry
uses: docker/login-action@v2
with:
registry: eiche:3000
registry: gitea.tail276105.ts.net
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Docker imageTags
run: |
REPOSITORY_LC=$(echo "${{ gitea.repository }}" | tr '[:upper:]' '[:lower:]')
echo "versioned: eiche:3000/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER}"
echo "latest: eiche:3000/${REPOSITORY_LC}:latest"
echo "versioned: gitea.tail276105.ts.net/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER}"
echo "latest: gitea.tail276105.ts.net/${REPOSITORY_LC}:latest"
- name: Build Docker Image
run: |
@@ -34,19 +34,19 @@ jobs:
docker buildx use boxitkeycloak;
docker buildx build \
--platform linux/arm64,linux/amd64 \
--tag eiche:3000/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER} \
--tag gitea.tail276105.ts.net/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER} \
--load \
.;
# Tag the same image as "latest"
docker tag eiche:3000/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER} eiche:3000/${REPOSITORY_LC}:latest
docker tag gitea.tail276105.ts.net/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER} gitea.tail276105.ts.net/${REPOSITORY_LC}:latest
- name: Push Docker Images
run: |
REPOSITORY_LC=$(echo "${{ gitea.repository }}" | tr '[:upper:]' '[:lower:]')
docker push eiche:3000/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER}
docker push eiche:3000/${REPOSITORY_LC}:latest
docker push gitea.tail276105.ts.net/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER}
docker push gitea.tail276105.ts.net/${REPOSITORY_LC}:latest
- name: Log out from registry
if: always()
run: docker logout eiche:3000
run: docker logout gitea.tail276105.ts.net
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.