Compare commits

..

No commits in common. "be1a62db655cde44ab081ca4cc529897b24611a3" and "2a387f7fa63a4513d27e5c635e335b50f144c74b" have entirely different histories.

2 changed files with 14 additions and 14 deletions

View File

@ -59,8 +59,8 @@ jobs:
- name: Build docker - name: Build docker
run: | run: |
cd api cd api
echo "VERSION = \"$(cat ../version.txt)\"" > version.py echo "VERSION = \"$(cat version.txt)\"" > version.py
docker build --no-cache -t git.sh-edraft.de/sh-edraft.de/open-redirect-api:$(cat ../version.txt) . docker build --no-cache -t git.sh-edraft.de/sh-edraft.de/open-redirect-api:$(cat version.txt) .
- name: Login to registry git.sh-edraft.de - name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1 uses: https://github.com/docker/login-action@v1
@ -71,7 +71,7 @@ jobs:
- name: Push image - name: Push image
run: | run: |
docker push git.sh-edraft.de/sh-edraft.de/open-redirect-api:$(cat ../version.txt) docker push git.sh-edraft.de/sh-edraft.de/open-redirect-api:$(cat version.txt)
build-redirector: build-redirector:
runs-on: [runner] runs-on: [runner]
@ -92,7 +92,7 @@ jobs:
- name: Build docker - name: Build docker
run: | run: |
cd api cd api
docker build --no-cache -f dockerfile_redirector -t git.sh-edraft.de/sh-edraft.de/open-redirect-redirector:$(cat ../version.txt) . docker build --no-cache -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 - name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1 uses: https://github.com/docker/login-action@v1
@ -103,7 +103,7 @@ jobs:
- name: Push image - name: Push image
run: | run: |
docker push git.sh-edraft.de/sh-edraft.de/open-redirect-redirector:$(cat ../version.txt) docker push git.sh-edraft.de/sh-edraft.de/open-redirect-redirector:$(cat version.txt)
build-web: build-web:
runs-on: [runner] runs-on: [runner]
@ -134,7 +134,7 @@ jobs:
- name: Build docker - name: Build docker
run: | run: |
cd web cd web
docker build --no-cache --build-arg VERSION=$(cat ../version.txt) -t git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat ../version.txt) . docker build --no-cache --build-arg VERSION=$(cat version.txt) -t git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat version.txt) .
- name: Login to registry git.sh-edraft.de - name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1 uses: https://github.com/docker/login-action@v1
@ -145,4 +145,4 @@ jobs:
- name: Push image - name: Push image
run: | run: |
docker push git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat ../version.txt) docker push git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat version.txt)

View File

@ -58,8 +58,8 @@ jobs:
- name: Build docker - name: Build docker
run: | run: |
cd api cd api
echo "VERSION = \"$(cat ../version.txt)\"" > version.py echo "VERSION = \"$(cat version.txt)\"" > version.py
docker build --no-cache -t git.sh-edraft.de/sh-edraft.de/open-redirect-api:$(cat ../version.txt) . docker build --no-cache -t git.sh-edraft.de/sh-edraft.de/open-redirect-api:$(cat version.txt) .
- name: Login to registry git.sh-edraft.de - name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1 uses: https://github.com/docker/login-action@v1
@ -70,7 +70,7 @@ jobs:
- name: Push image - name: Push image
run: | run: |
docker push git.sh-edraft.de/sh-edraft.de/open-redirect-api:$(cat ../version.txt) docker push git.sh-edraft.de/sh-edraft.de/open-redirect-api:$(cat version.txt)
build-redirector: build-redirector:
runs-on: [runner] runs-on: [runner]
@ -91,7 +91,7 @@ jobs:
- name: Build docker - name: Build docker
run: | run: |
cd api cd api
docker build --no-cache -f dockerfile_redirector -t git.sh-edraft.de/sh-edraft.de/open-redirect-redirector:$(cat ../version.txt) . docker build --no-cache -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 - name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1 uses: https://github.com/docker/login-action@v1
@ -102,7 +102,7 @@ jobs:
- name: Push image - name: Push image
run: | run: |
docker push git.sh-edraft.de/sh-edraft.de/open-redirect-redirector:$(cat ../version.txt) docker push git.sh-edraft.de/sh-edraft.de/open-redirect-redirector:$(cat version.txt)
build-web: build-web:
runs-on: [runner] runs-on: [runner]
@ -133,7 +133,7 @@ jobs:
- name: Build docker - name: Build docker
run: | run: |
cd web cd web
docker build --no-cache --build-arg VERSION=$(cat ../version.txt) -t git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat ../version.txt) . docker build --no-cache --build-arg VERSION=$(cat version.txt) -t git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat version.txt) .
- name: Login to registry git.sh-edraft.de - name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1 uses: https://github.com/docker/login-action@v1
@ -144,4 +144,4 @@ jobs:
- name: Push image - name: Push image
run: | run: |
docker push git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat ../version.txt) docker push git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat version.txt)