builder: Lowercase image name

Since buildah does this.
This commit is contained in:
Colin Walters 2023-11-04 13:50:48 -04:00
parent b8a2ddea30
commit 4b51813c79
1 changed files with 2 additions and 2 deletions

View File

@ -7,13 +7,13 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository_owner }}/builder
jobs:
build-image:
runs-on: ubuntu-latest
steps:
- run: echo IMAGE_NAME=$(echo ${{ github.repository_owner }}/builder | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
- name: Install qemu dependency
run: |
sudo apt-get update
@ -32,4 +32,4 @@ jobs:
oci: true
context: builder
- name: Push
run: buildah push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
run: buildah push --all ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}