Compare commits
10 commits
9831272609
...
3c7200d0a6
| Author | SHA1 | Date | |
|---|---|---|---|
| 3c7200d0a6 | |||
| 939227b71e | |||
| 305cc11417 | |||
| 763cac05e9 | |||
| f3be1963d3 | |||
| 34e5ea5847 | |||
| 116927f472 | |||
| 28ade77065 | |||
| c7a5ba22ae | |||
| 34539ce57e |
1 changed files with 12 additions and 16 deletions
28
.github/workflows/.github-ci.yaml
vendored
28
.github/workflows/.github-ci.yaml
vendored
|
|
@ -1,11 +1,12 @@
|
|||
name: ci
|
||||
|
||||
on: push
|
||||
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-host
|
||||
|
||||
steps:
|
||||
-
|
||||
|
|
@ -30,23 +31,18 @@ jobs:
|
|||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ steps.repository.outputs.registry }}
|
||||
username: ${{ secrets.PACKAGES_USER }}
|
||||
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
|
||||
with:
|
||||
buildkitd-flags: '--allow-insecure-entitlement network.host'
|
||||
driver-opts: network=host
|
||||
username: "${{ secrets.PACKAGES_USER }}"
|
||||
password: "${{ secrets.PACKAGES_TOKEN }}"
|
||||
-
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
allow: network.host
|
||||
network: host
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: ${{ steps.docker.outputs.tags }}
|
||||
|
||||
-
|
||||
name: docker run
|
||||
run: |
|
||||
docker run garm-provider-test.t09.de/giteaadmin/demo3:development
|
||||
|
||||
|
|
|
|||
Reference in a new issue