fix: declare image name in one place

This commit is contained in:
ER
2023-04-02 16:06:55 +03:00
parent ab6fee7bd2
commit 73de53cd39

View File

@@ -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