push to registry
Some checks failed
Deploy on push / on-push-deploy_sh-edraft (push) Has been cancelled
Some checks failed
Deploy on push / on-push-deploy_sh-edraft (push) Has been cancelled
This commit is contained in:
parent
56f99c3669
commit
436b69804d
@ -10,9 +10,8 @@ jobs:
|
|||||||
runs-on: [dobby.sh-edraft.de, ubuntu-latest]
|
runs-on: [dobby.sh-edraft.de, ubuntu-latest]
|
||||||
container: catthehacker/ubuntu:act-latest
|
container: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Setup docker
|
- name: Set up Docker Buildx
|
||||||
uses: https://github.com/papodaca/install-docker-action@main
|
uses: https://github.com/docker/setup-buildx-action@v3
|
||||||
- run: docker -v
|
|
||||||
|
|
||||||
- name: Clone Repository
|
- name: Clone Repository
|
||||||
uses: https://github.com/actions/checkout@v3
|
uses: https://github.com/actions/checkout@v3
|
||||||
@ -20,48 +19,16 @@ jobs:
|
|||||||
token: ${{ secrets.CI_ACCESS_TOKEN }}
|
token: ${{ secrets.CI_ACCESS_TOKEN }}
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: Build act-runner image
|
- name: Login to registry git.sh-edraft.de
|
||||||
run: |
|
uses: https://github.com/docker/login-action@v1
|
||||||
docker image prune -f
|
|
||||||
chmod +x build
|
|
||||||
./build
|
|
||||||
|
|
||||||
on-push-deploy_keksdose:
|
|
||||||
runs-on: [ksrv01.keksdose-gaming.de, ubuntu-latest]
|
|
||||||
container: catthehacker/ubuntu:act-latest
|
|
||||||
steps:
|
|
||||||
- name: Setup docker
|
|
||||||
uses: https://github.com/papodaca/install-docker-action@main
|
|
||||||
- run: docker -v
|
|
||||||
|
|
||||||
- name: Clone Repository
|
|
||||||
uses: https://github.com/actions/checkout@v3
|
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CI_ACCESS_TOKEN }}
|
registry: git.sh-edraft.de
|
||||||
submodules: true
|
username: ${{ secrets.CI_USERNAME }}
|
||||||
|
password: ${{ secrets.CI_ACCESS_TOKEN }}
|
||||||
|
|
||||||
- name: Build act-runner image
|
- name: Build and push
|
||||||
run: |
|
uses: https://github.com/docker/build-push-action@v2
|
||||||
docker image prune -f
|
|
||||||
chmod +x build
|
|
||||||
./build
|
|
||||||
|
|
||||||
on-push-deploy_area:
|
|
||||||
runs-on: [vsrv01.area49-battlefield.de, ubuntu-latest]
|
|
||||||
container: catthehacker/ubuntu:act-latest
|
|
||||||
steps:
|
|
||||||
- name: Setup docker
|
|
||||||
uses: https://github.com/papodaca/install-docker-action@main
|
|
||||||
- run: docker -v
|
|
||||||
|
|
||||||
- name: Clone Repository
|
|
||||||
uses: https://github.com/actions/checkout@v3
|
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CI_ACCESS_TOKEN }}
|
push: true
|
||||||
submodules: true
|
tags: sh-edraft.de/act-runner:latest
|
||||||
|
|
||||||
- name: Build act-runner image
|
|
||||||
run: |
|
|
||||||
docker image prune -f
|
|
||||||
chmod +x build
|
|
||||||
./build
|
|
||||||
|
Loading…
Reference in New Issue
Block a user