fix: declare image name in one place
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -17,7 +17,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGE_BASE_NAME: startingpoint
|
IMAGE_NAME: startingpoint
|
||||||
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
|
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -31,7 +31,6 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
image_name: [startingpoint]
|
|
||||||
major_version: [37]
|
major_version: [37]
|
||||||
include:
|
include:
|
||||||
- major_version: 37
|
- major_version: 37
|
||||||
@@ -44,7 +43,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Matrix Variables
|
- name: Matrix Variables
|
||||||
run: |
|
run: |
|
||||||
echo "IMAGE_NAME=${{ format('{1}', matrix.image_name, env.IMAGE_BASE_NAME) }}" >> $GITHUB_ENV
|
echo "IMAGE_NAME=${{ env.IMAGE_NAME }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Generate tags
|
- name: Generate tags
|
||||||
id: generate-tags
|
id: generate-tags
|
||||||
|
|||||||
Reference in New Issue
Block a user