Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix lowercasing #60

Merged
merged 1 commit into from
Mar 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Build image and push to GitHub Container Registry

permissions:
contents: read
packages: write

on:
push:
branches:
Expand All @@ -23,13 +27,10 @@ jobs:
- name: Lowercase the GitHub repository
id: lowercase-repository
run: |
echo "github_repository=${{ github.repository }}" >> $GITHUB_OUTPUT
echo "github_repository=${GITHUB_REPOSITORY@L}" >> $GITHUB_OUTPUT

- name: Build and Push Image with Kaniko
uses: int128/kaniko-action@v1
with:
push: true
tags: ghcr.io/${{ steps.lowercase-repository.outputs.github_repository }}/poc:${{ github.sha }}-${{ github.ref_name }}-${{ github.run_id }}
cache: true
cache-ttl: 168h
cache-repository: ghcr.io/${{ github.repository }}/cache
tags: ghcr.io/${{ steps.lowercase-repository.outputs.github_repository }}:${{ github.sha }}-${{ github.ref_name }}-${{ github.run_id }}