on: [push] jobs: test: runs-on: docker container: catthehacker/ubuntu:act-latest steps: - name: Checkout uses: actions/checkout@v4 - 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=git qemu.install=false - name: Login to Docker Registry uses: docker/login-action@v3 with: registry: hub.docker.com username: imartyn password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push uses: docker/build-push-action@v5 with: context: . push: true platforms: linux/amd64 tags: | imartyn/usb-ipp:latest