2424 with :
2525 driver-opts : network=host
2626
27- - name : Build and push hook-bootkit
28- uses : docker/build-push-action@v2.4.0
29- with :
30- context : ./hook-bootkit/
31- platforms : linux/amd64,linux/arm64
32- push : true
33- tags : localhost:5000/tinkerbell/hook-bootkit:0.0
34-
35- - name : Build and push hook-docker
36- uses : docker/build-push-action@v2.4.0
37- with :
38- context : ./hook-docker/
39- platforms : linux/amd64,linux/arm64
40- push : true
41- tags : localhost:5000/tinkerbell/hook-docker:0.0
42-
4327 - uses : cachix/install-nix-action@v16
4428 with :
4529 nix_path : nixpkgs=channel:nixos-unstable
@@ -50,13 +34,14 @@ jobs:
5034 # Replace hook-{bootkit,docker} but not hook-kernel
5135 - run : sed -E -e 's,quay.io/tinkerbell/hook-(bootkit|docker),localhost:5000/tinkerbell/hook-\1,g' hook.yaml | tee hook-ci.yaml
5236
53- - run : ./hack/ci-build.sh
37+ - name : Build Hook tarballs
38+ run : nix-shell --run 'make dist'
5439 env :
55- LINUXKIT_CONFIG : hook-ci.yaml
5640 GIT_VERSION : ${{ github.sha }}
41+ LINUXKIT_CONFIG : hook-ci.yaml
42+ ORG : localhost:5000/tinkerbell
5743
58- # TODO: add artifacts for the built images
5944 - uses : actions/upload-artifact@v2
6045 with :
6146 name : hook-${{ github.sha }}.tar.gz
62- path : hook-${{ github.sha }}.tar.gz
47+ path : out/ hook-${{ github.sha }}.tar.gz
0 commit comments