adjust for new GiteaServer
Build and Push ApacheOIDC Docker Image / build (push) Successful in 2m43s
Build and Push ApacheOIDC Docker Image / build (push) Successful in 2m43s
This commit is contained in:
1 parent
359b496d0d
commit
a84e8627bf
2 files changed
+9
-8
No files matched your search
@@ -14,15 +14,15 @@ jobs:
|
|||||||
- name: Login to Registry
|
- name: Login to Registry
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: eiche:3000
|
registry: gitea.tail276105.ts.net
|
||||||
username: ${{ secrets.REGISTRY_USER }}
|
username: ${{ secrets.REGISTRY_USER }}
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
- name: Docker imageTags
|
- name: Docker imageTags
|
||||||
run: |
|
run: |
|
||||||
REPOSITORY_LC=$(echo "${{ gitea.repository }}" | tr '[:upper:]' '[:lower:]')
|
REPOSITORY_LC=$(echo "${{ gitea.repository }}" | tr '[:upper:]' '[:lower:]')
|
||||||
echo "versioned: eiche:3000/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER}"
|
echo "versioned: gitea.tail276105.ts.net/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER}"
|
||||||
echo "latest: eiche:3000/${REPOSITORY_LC}:latest"
|
echo "latest: gitea.tail276105.ts.net/${REPOSITORY_LC}:latest"
|
||||||
|
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
run: |
|
run: |
|
||||||
@@ -34,19 +34,19 @@ jobs:
|
|||||||
docker buildx use boxitapache;
|
docker buildx use boxitapache;
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/arm64,linux/amd64 \
|
--platform linux/arm64,linux/amd64 \
|
||||||
--tag eiche:3000/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER} \
|
--tag gitea.tail276105.ts.net/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER} \
|
||||||
--load \
|
--load \
|
||||||
.;
|
.;
|
||||||
|
|
||||||
# Tag the same image as "latest"
|
# 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
|
- name: Push Docker Images
|
||||||
run: |
|
run: |
|
||||||
REPOSITORY_LC=$(echo "${{ gitea.repository }}" | tr '[:upper:]' '[:lower:]')
|
REPOSITORY_LC=$(echo "${{ gitea.repository }}" | tr '[:upper:]' '[:lower:]')
|
||||||
docker push eiche:3000/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER}
|
docker push gitea.tail276105.ts.net/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER}
|
||||||
docker push eiche:3000/${REPOSITORY_LC}:latest
|
docker push gitea.tail276105.ts.net/${REPOSITORY_LC}:latest
|
||||||
|
|
||||||
- name: Log out from registry
|
- name: Log out from registry
|
||||||
if: always()
|
if: always()
|
||||||
run: docker logout eiche:3000
|
run: docker logout gitea.tail276105.ts.net
|
||||||
@@ -2,6 +2,7 @@ FROM ubuntu:20.04
|
|||||||
MAINTAINER ich@boxi.ch
|
MAINTAINER ich@boxi.ch
|
||||||
|
|
||||||
LABEL name="Apache HTTPD Reverse-Proxy with OpenID Connect Authentication support based on Ubuntu 20.04"
|
LABEL name="Apache HTTPD Reverse-Proxy with OpenID Connect Authentication support based on Ubuntu 20.04"
|
||||||
|
LABEL org.opencontainers.image.source="https://gitea.tail276105.ts.net/boxi/ApacheOIDC"
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
|||||||