mirror of
https://github.com/kairos-io/packages.git
synced 2025-09-02 16:06:17 +00:00
Re-fix dispatch workflow
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
6
.github/workflows/one.yaml
vendored
6
.github/workflows/one.yaml
vendored
@@ -27,7 +27,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "FINAL_REPO=$FINAL_REPO" >> "$GITHUB_ENV"
|
echo "FINAL_REPO=$FINAL_REPO" >> "$GITHUB_ENV"
|
||||||
echo "$GITHUB_ENV"
|
echo "Setting final repo to $FINAL_REPO"
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: |
|
- run: |
|
||||||
git fetch --prune --unshallow
|
git fetch --prune --unshallow
|
||||||
@@ -46,10 +46,9 @@ jobs:
|
|||||||
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
|
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
|
||||||
- name: Build packages 🔧
|
- name: Build packages 🔧
|
||||||
uses: luet-lab/luet-github-action@master
|
uses: luet-lab/luet-github-action@master
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
|
||||||
with:
|
with:
|
||||||
build: true
|
build: true
|
||||||
fromIndex: true
|
fromIndex: false
|
||||||
onlyMissing: false
|
onlyMissing: false
|
||||||
CURRENT_PACKAGE: ${{ github.event.inputs.package }}
|
CURRENT_PACKAGE: ${{ github.event.inputs.package }}
|
||||||
FINAL_REPO: ${{ env.action_state }}
|
FINAL_REPO: ${{ env.action_state }}
|
||||||
@@ -62,7 +61,6 @@ jobs:
|
|||||||
values: values/${{ github.event.inputs.arch }}.yaml
|
values: values/${{ github.event.inputs.arch }}.yaml
|
||||||
- name: Create repo 🔧
|
- name: Create repo 🔧
|
||||||
uses: luet-lab/luet-github-action@master
|
uses: luet-lab/luet-github-action@master
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
|
||||||
with:
|
with:
|
||||||
FINAL_REPO: ${{ env.action_state }}
|
FINAL_REPO: ${{ env.action_state }}
|
||||||
DOCKER_USERNAME: ${{ secrets.QUAY_USERNAME }}
|
DOCKER_USERNAME: ${{ secrets.QUAY_USERNAME }}
|
||||||
|
Reference in New Issue
Block a user