diff --git a/.github/workflows/.github-ci.yaml b/.github/workflows/.github-ci.yaml index a7621d4..10bb6cd 100644 --- a/.github/workflows/.github-ci.yaml +++ b/.github/workflows/.github-ci.yaml @@ -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 +