Skip to content

Merge pull request #1069 from syself/renovate/caph-builder-image #13

Merge pull request #1069 from syself/renovate/caph-builder-image

Merge pull request #1069 from syself/renovate/caph-builder-image #13

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