Skip to content

Commit

Permalink
ci: stacker publish recursively
Browse files Browse the repository at this point in the history
Signed-off-by: Petu Eusebiu <[email protected]>
  • Loading branch information
eusebiu-constantin-petu-dbk committed Nov 21, 2023
1 parent 4d9dee5 commit 2da0534
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ jobs:
name: build
runs-on: self-hosted
steps:
env:
USERNAME: ${{ secrets.ZOTHUB_USERNAME }}
PASSWORD: ${{ secrets.ZOTHUB_PASSWORD }}
- name: Set up environment
run: |
mkdir ~/bin
Expand Down Expand Up @@ -74,13 +71,19 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: publish provision and install layer
if: startsWith(github.ref, 'refs/tags/')
run: |
make publish
env:
ZOT_VERSION=2.0.0-rc5
ROOTFS_VERSION=v0.0.17.231018
TOPDIR=${{ env.TOPDIR }}
URL=docker://zothub.io/machine/bootkit
uses: project-stacker/stacker-build-push-action@main
with:
version: v1.0.0-rc8
dir: 'layers'
build-args: |
ZOT_VERSION=2.0.0-rc5
ROOTFS_VERSION=v0.0.17.231018
TOPDIR=${{ env.TOPDIR }}
url: docker://zothub.io/machine/bootkit
layer-type: squashfs
tags: ${{ env.RELEASE_VERSION }}
username: ${{ secrets.ZOTHUB_USERNAME }}
password: ${{ secrets.ZOTHUB_PASSWORD }}

build_arm64:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2da0534

Please sign in to comment.