Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
fix: declare image name in one place
Browse files Browse the repository at this point in the history
  • Loading branch information
xynydev committed Apr 2, 2023
1 parent ab6fee7 commit 73de53c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
workflow_dispatch:

env:
IMAGE_BASE_NAME: startingpoint
IMAGE_NAME: startingpoint
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}

jobs:
Expand All @@ -31,7 +31,6 @@ jobs:
strategy:
fail-fast: false
matrix:
image_name: [startingpoint]
major_version: [37]
include:
- major_version: 37
Expand All @@ -44,7 +43,7 @@ jobs:

- name: Matrix Variables
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
id: generate-tags
Expand Down

0 comments on commit 73de53c

Please sign in to comment.