61 lines
No EOL
1.6 KiB
YAML
61 lines
No EOL
1.6 KiB
YAML
name: ci
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
-
|
|
name: Login to registry
|
|
run: |
|
|
docker network ls
|
|
docker network inspect bridge
|
|
echo
|
|
docker network inspect host
|
|
apt update -y
|
|
apt install -y net-tools curl
|
|
ifconfig
|
|
curl https://google.com
|
|
|
|
-
|
|
name: Login to registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: gitea.client.c-one-infra.de
|
|
username: ${{ github.repository }}
|
|
password: ${{ secrets.PACKAGES_TOKEN }}
|
|
-
|
|
name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v3
|
|
-
|
|
name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
-
|
|
name: Build and push
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
push: true
|
|
tags: gitea.client.c-one-infra.de/giteaadmin/app:latest
|
|
|
|
#-
|
|
# name: Login to registry
|
|
# uses: docker/login-action@v3
|
|
# with:
|
|
# registry: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live
|
|
# username: ${{ github.repository }}
|
|
# password: ${{ secrets.PACKAGES_TEST_TOKEN }}
|
|
#-
|
|
# name: Set up QEMU
|
|
# uses: docker/setup-qemu-action@v3
|
|
#-
|
|
# name: Set up Docker Buildx
|
|
# uses: docker/setup-buildx-action@v3
|
|
#-
|
|
# name: Build and push
|
|
# uses: docker/build-push-action@v6
|
|
# with:
|
|
# push: true
|
|
# tags: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/${{ github.repository }}/apptest:latest
|
|
|