diff --git a/.github/workflows/library-base.yaml b/.github/workflows/library-base.yaml index f95b16ca..ba567e7f 100644 --- a/.github/workflows/library-base.yaml +++ b/.github/workflows/library-base.yaml @@ -48,6 +48,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/base:latest + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-caddy2.7.yaml b/.github/workflows/library-caddy2.7.yaml index 8dd45937..00c7852a 100644 --- a/.github/workflows/library-caddy2.7.yaml +++ b/.github/workflows/library-caddy2.7.yaml @@ -50,6 +50,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/caddy:2.7 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-helloworld.yaml b/.github/workflows/library-helloworld.yaml index 28a03b35..0372978b 100644 --- a/.github/workflows/library-helloworld.yaml +++ b/.github/workflows/library-helloworld.yaml @@ -56,6 +56,12 @@ jobs: push: false execute: ${{ matrix.plat == 'qemu' && matrix.arch == 'x86_64' }} output: oci://index.unikraft.io/unikraft.org/helloworld:latest + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-hugo0.122.yaml b/.github/workflows/library-hugo0.122.yaml index f9ae649c..272a8269 100644 --- a/.github/workflows/library-hugo0.122.yaml +++ b/.github/workflows/library-hugo0.122.yaml @@ -50,6 +50,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/hugo:0.122 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-lua5.4.4.yaml b/.github/workflows/library-lua5.4.4.yaml index 18163489..6022c127 100644 --- a/.github/workflows/library-lua5.4.4.yaml +++ b/.github/workflows/library-lua5.4.4.yaml @@ -50,6 +50,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/lua:5.4.4 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-lua5.4.yaml b/.github/workflows/library-lua5.4.yaml index 25685154..93d98ade 100644 --- a/.github/workflows/library-lua5.4.yaml +++ b/.github/workflows/library-lua5.4.yaml @@ -52,6 +52,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/lua:5.4 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-memcached1.6.yaml b/.github/workflows/library-memcached1.6.yaml index 22e26077..edcc8a1f 100644 --- a/.github/workflows/library-memcached1.6.yaml +++ b/.github/workflows/library-memcached1.6.yaml @@ -50,6 +50,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/memcached:1.6 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-nginx1.15.yaml b/.github/workflows/library-nginx1.15.yaml index 1cde81cc..42a4b242 100644 --- a/.github/workflows/library-nginx1.15.yaml +++ b/.github/workflows/library-nginx1.15.yaml @@ -52,6 +52,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/nginx:1.15 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-nginx1.25.yaml b/.github/workflows/library-nginx1.25.yaml index bcd38d60..27650c28 100644 --- a/.github/workflows/library-nginx1.25.yaml +++ b/.github/workflows/library-nginx1.25.yaml @@ -50,6 +50,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/nginx:1.25 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-node18.yaml b/.github/workflows/library-node18.yaml index 228eba99..2bea1838 100644 --- a/.github/workflows/library-node18.yaml +++ b/.github/workflows/library-node18.yaml @@ -50,6 +50,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/node:18 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-node20.yaml b/.github/workflows/library-node20.yaml index e0c13cb9..0880fcd7 100644 --- a/.github/workflows/library-node20.yaml +++ b/.github/workflows/library-node20.yaml @@ -48,6 +48,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/node:20 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-node21.yaml b/.github/workflows/library-node21.yaml index 51f142bb..4547817b 100644 --- a/.github/workflows/library-node21.yaml +++ b/.github/workflows/library-node21.yaml @@ -50,6 +50,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/node:21 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-perl5.38.yaml b/.github/workflows/library-perl5.38.yaml index b6eed5fe..d61898e2 100644 --- a/.github/workflows/library-perl5.38.yaml +++ b/.github/workflows/library-perl5.38.yaml @@ -50,6 +50,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/perl:5.38 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-php8.2.yaml b/.github/workflows/library-php8.2.yaml index a85919e3..23baa7c7 100644 --- a/.github/workflows/library-php8.2.yaml +++ b/.github/workflows/library-php8.2.yaml @@ -48,6 +48,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/php:8.2 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-python3.10.yaml b/.github/workflows/library-python3.10.yaml index 4156eb7e..655fb2c9 100644 --- a/.github/workflows/library-python3.10.yaml +++ b/.github/workflows/library-python3.10.yaml @@ -48,6 +48,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/python:3.10 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-python3.12.yaml b/.github/workflows/library-python3.12.yaml index ee33ad01..7cce0408 100644 --- a/.github/workflows/library-python3.12.yaml +++ b/.github/workflows/library-python3.12.yaml @@ -48,6 +48,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/python:3.12 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-redis7.0.yaml b/.github/workflows/library-redis7.0.yaml index b971ff8a..75c707e2 100644 --- a/.github/workflows/library-redis7.0.yaml +++ b/.github/workflows/library-redis7.0.yaml @@ -52,6 +52,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/redis:7.0 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-redis7.2.yaml b/.github/workflows/library-redis7.2.yaml index 7fa2d2c8..c379f14b 100644 --- a/.github/workflows/library-redis7.2.yaml +++ b/.github/workflows/library-redis7.2.yaml @@ -48,6 +48,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/redis:7.2 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-ruby3.2.yaml b/.github/workflows/library-ruby3.2.yaml index b720710a..e02aa7da 100644 --- a/.github/workflows/library-ruby3.2.yaml +++ b/.github/workflows/library-ruby3.2.yaml @@ -48,6 +48,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/ruby:3.2 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-skipper0.18.yaml b/.github/workflows/library-skipper0.18.yaml index 6d800774..a4b2f528 100644 --- a/.github/workflows/library-skipper0.18.yaml +++ b/.github/workflows/library-skipper0.18.yaml @@ -50,6 +50,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/skipper:0.18 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3 diff --git a/.github/workflows/library-sqlite3.40.yaml b/.github/workflows/library-sqlite3.40.yaml index 8450ef91..96c86c67 100644 --- a/.github/workflows/library-sqlite3.40.yaml +++ b/.github/workflows/library-sqlite3.40.yaml @@ -52,6 +52,12 @@ jobs: arch: ${{ matrix.arch }} push: false output: oci://index.unikraft.io/unikraft.org/sqlite:3.40 + before: | + set -xe + + if [ ${{ github.event_name }} == 'repository_dispatch' ]; then + sed -i 's/stable/staging/g' Kraftfile + fi - name: Archive OCI digests uses: actions/upload-artifact@v3