Update .forgejo/workflows/demo.yaml
/ test (push) Failing after 10s Details

This commit is contained in:
Martyn 2024-03-08 14:34:15 +00:00
parent 7921345fd9
commit f385158649
1 changed files with 21 additions and 3 deletions

View File

@ -3,6 +3,24 @@ jobs:
test: test:
runs-on: docker runs-on: docker
steps: steps:
- run: curl -fSL "https://github.com/genuinetools/img/releases/download/v0.5.11/img-linux-amd64" -o "/usr/local/bin/img" && chmod a+x "/usr/local/bin/img" - name: Checkout
- uses: actions/checkout@v4 uses: actions/checkout@v4
- run: img build . -t imartyn/usb-ipp:latest - name: Create Kubeconfig
run: |
mkdir $HOME/.kube
echo "${{ secrets.KUBECONFIG_BUILDX }}" > $HOME/.kube/config
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: kubernetes
driver-opts: |
namespace=act-runner
qemu.install=false
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: false
platforms: linux/amd64
tags: |
imartyn/usb-ipp:latest