Fix script path
This commit is contained in:
@ -3,7 +3,7 @@ on:
|
||||
push:
|
||||
paths:
|
||||
- 'Dockerfile.*'
|
||||
- 'workflows/scripts/*.sh'
|
||||
- '.gitea/workflows/scripts/*.sh'
|
||||
|
||||
jobs:
|
||||
# JOB 1: Setup & Calculate Short SHA
|
||||
@ -24,7 +24,7 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Make scripts executable
|
||||
run: chmod +x workflows/scripts/*.sh
|
||||
run: chmod +x .gitea/workflows/scripts/*.sh
|
||||
|
||||
- name: Build Base
|
||||
uses: docker://quay.io/buildah/stable
|
||||
@ -34,7 +34,7 @@ jobs:
|
||||
REGISTRY: gitea.212.63.210.91.nip.io
|
||||
with:
|
||||
entrypoint: /bin/sh
|
||||
args: workflows/scripts/build-base.sh
|
||||
args: .gitea/workflows/scripts/build-base.sh
|
||||
|
||||
# JOB 3: Build Targets (Matrix)
|
||||
build-targets:
|
||||
@ -54,7 +54,7 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Make scripts executable
|
||||
run: chmod +x workflows/scripts/*.sh
|
||||
run: chmod +x .gitea/workflows/scripts/*.sh
|
||||
|
||||
- name: Build ${{ matrix.name }}
|
||||
uses: docker://quay.io/buildah/stable
|
||||
@ -66,4 +66,4 @@ jobs:
|
||||
with:
|
||||
entrypoint: /bin/sh
|
||||
# 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