feat: declare image name in recipe.yml
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -17,7 +17,6 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: startingpoint
|
|
||||||
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
|
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -41,9 +40,12 @@ jobs:
|
|||||||
- name: Checkout Push to Registry action
|
- name: Checkout Push to Registry action
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Matrix Variables
|
- name: Add yq - portable yaml processor
|
||||||
|
uses: mikefarah/yq@v4.33.2
|
||||||
|
|
||||||
|
- name: Gather image data from recipe
|
||||||
run: |
|
run: |
|
||||||
echo "IMAGE_NAME=${{ env.IMAGE_NAME }}" >> $GITHUB_ENV
|
echo "IMAGE_NAME=$(yq '.name' ./recipe.yml)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Generate tags
|
- name: Generate tags
|
||||||
id: generate-tags
|
id: generate-tags
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
name: startingpoint
|
||||||
rpms:
|
rpms:
|
||||||
- python3-pip # needed for yafti
|
- python3-pip # needed for yafti
|
||||||
flatpaks:
|
flatpaks:
|
||||||
|
|||||||
Reference in New Issue
Block a user