Added redirector build
All checks were successful
Build on push / build-redirector (push) Successful in 17s
Build on push / build-api (push) Successful in 19s
Build on push / build-web (push) Successful in 1m7s

This commit is contained in:
Sven Heidemann 2025-01-10 12:27:12 +01:00
parent 021152bcf5
commit 5f4d4aeb73

View File

@ -31,6 +31,31 @@ jobs:
run: |
docker push git.sh-edraft.de/sh-edraft.de/open-redirect-api:$(cat version.txt)
build-redirector:
runs-on: [runner]
container: git.sh-edraft.de/sh-edraft.de/act-runner:latest
steps:
- name: Clone Repository
uses: https://github.com/actions/checkout@v3
with:
token: ${{ secrets.CI_ACCESS_TOKEN }}
- name: Build docker
run: |
cd api
docker build -f dockerfile_redirector -t git.sh-edraft.de/sh-edraft.de/open-redirect-redirector:$(cat ../version.txt) .
- name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1
with:
registry: git.sh-edraft.de
username: ${{ secrets.CI_USERNAME }}
password: ${{ secrets.CI_ACCESS_TOKEN }}
- name: Push image
run: |
docker push git.sh-edraft.de/sh-edraft.de/open-redirect-redirector:$(cat version.txt)
build-web:
runs-on: [runner]
container: git.sh-edraft.de/sh-edraft.de/act-runner:latest