From da3d88e815007cac78134a8b89758092708d6a3e Mon Sep 17 00:00:00 2001 From: Christophe de Carvalho Date: Thu, 3 Oct 2019 10:18:11 +0200 Subject: [PATCH] make default flist use tf-zos directory on the hub (#306) * make default flist use tf-zos directory on the hub * use the commit has in the name of the generated flist * upload the flist to tf-zos organization * Update flist_build.yml --- .github/workflows/flist_build.yml | 3 ++- bootstrap/etc/zinit/init/bootstrap.sh | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/flist_build.yml b/.github/workflows/flist_build.yml index 0b58e12b3..c10ba9745 100644 --- a/.github/workflows/flist_build.yml +++ b/.github/workflows/flist_build.yml @@ -33,6 +33,7 @@ jobs: if: success() uses: threefoldtech/action-publish@v1-release with: + user: tf-autobuilder root: /tmp/archive token: ${{ secrets.HUB_JWT }} - name: zos-${{ github.ref }}.tar.gz \ No newline at end of file + name: zos-${{ github.sha }}.tar.gz diff --git a/bootstrap/etc/zinit/init/bootstrap.sh b/bootstrap/etc/zinit/init/bootstrap.sh index 9c999e61b..31ea6c2b1 100644 --- a/bootstrap/etc/zinit/init/bootstrap.sh +++ b/bootstrap/etc/zinit/init/bootstrap.sh @@ -40,16 +40,16 @@ default_param() { runmode=$(default_param runmode prod) # set default production flist -flist=azmy/zos:production:latest.flist +flist=tf-zos/zos:production:latest.flist case "${runmode}" in prod) ;; dev) - flist=azmy/zos:development:latest.flist + flist=tf-zos/zos:development:latest.flist ;; test) - flist=azmy/zos:testing:latest.flist + flist=tf-zos/zos:testing:latest.flist ;; *) echo "Invalid run mode '${runmode}'. fall back to production"