Fix script path
This commit is contained in:
@ -3,7 +3,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'Dockerfile.*'
|
- 'Dockerfile.*'
|
||||||
- 'workflows/scripts/*.sh'
|
- '.gitea/workflows/scripts/*.sh'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# JOB 1: Setup & Calculate Short SHA
|
# JOB 1: Setup & Calculate Short SHA
|
||||||
@ -24,7 +24,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Make scripts executable
|
- name: Make scripts executable
|
||||||
run: chmod +x workflows/scripts/*.sh
|
run: chmod +x .gitea/workflows/scripts/*.sh
|
||||||
|
|
||||||
- name: Build Base
|
- name: Build Base
|
||||||
uses: docker://quay.io/buildah/stable
|
uses: docker://quay.io/buildah/stable
|
||||||
@ -34,7 +34,7 @@ jobs:
|
|||||||
REGISTRY: gitea.212.63.210.91.nip.io
|
REGISTRY: gitea.212.63.210.91.nip.io
|
||||||
with:
|
with:
|
||||||
entrypoint: /bin/sh
|
entrypoint: /bin/sh
|
||||||
args: workflows/scripts/build-base.sh
|
args: .gitea/workflows/scripts/build-base.sh
|
||||||
|
|
||||||
# JOB 3: Build Targets (Matrix)
|
# JOB 3: Build Targets (Matrix)
|
||||||
build-targets:
|
build-targets:
|
||||||
@ -54,7 +54,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Make scripts executable
|
- name: Make scripts executable
|
||||||
run: chmod +x workflows/scripts/*.sh
|
run: chmod +x .gitea/workflows/scripts/*.sh
|
||||||
|
|
||||||
- name: Build ${{ matrix.name }}
|
- name: Build ${{ matrix.name }}
|
||||||
uses: docker://quay.io/buildah/stable
|
uses: docker://quay.io/buildah/stable
|
||||||
@ -66,4 +66,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
entrypoint: /bin/sh
|
entrypoint: /bin/sh
|
||||||
# Pass the matrix variables to our generic script
|
# Pass the matrix variables to our generic script
|
||||||
args: -c "./workflows/scripts/build-target.sh ${{ matrix.name }} ${{ matrix.dockerfile }}"
|
args: -c "./.gitea/workflows/scripts/build-target.sh ${{ matrix.name }} ${{ matrix.dockerfile }}"
|
||||||
Reference in New Issue
Block a user