Merge pull request #1069 from syself/renovate/caph-builder-image #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Promote Latest tag to Caph Builder Image | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- main | |
paths: | |
- "images/builder/Dockerfile" | |
jobs: | |
promote-build-image: | |
name: Promote Latest tag to Caph Builder Image | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/syself/caph-builder:1.0.13 | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ secrets.github_token }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Fixup git permissions | |
# https://github.com/actions/checkout/issues/766 | |
shell: bash | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Promote Latest tag to Caph Builder Image | |
env: | |
PASSWORD: ${{ secrets.GITHUB_TOKEN }} | |
USERNAME: ${{ github.actor }} | |
run: make builder-image-promote-latest |