Skip to content

chore(deps): update ghcr.io/renovatebot/renovate docker tag to v42.93.1 #8641

chore(deps): update ghcr.io/renovatebot/renovate docker tag to v42.93.1

chore(deps): update ghcr.io/renovatebot/renovate docker tag to v42.93.1 #8641

Workflow file for this run

name: build
on:
push:
workflow_dispatch:
env:
OWNER: ${{ github.repository_owner }}
FILE: renovate
IMAGE: ghcr.io/${{ github.repository_owner }}/renovate
BUILDKIT_PROGRESS: plain
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
attestations: write
contents: read
id-token: write
packages: write
env:
TAG: latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0
- name: Init
run: ./bin/init.sh
shell: bash
- name: docker-config
uses: containerbase/internal-tools@1d5c8d76cd3f42475a9fe728a7d5e34e213855b8 # v3.14.58
with:
command: docker-config
- name: Build the Docker image
run: docker buildx bake test
- name: Test run
run: docker compose --file docker-compose.test.yml run sut
env:
IMAGE: ${{ env.IMAGE }}:${{ env.TAG }}
- name: Log into registry
if: github.ref_name == 'main'
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
- name: Publish the Docker image
id: publish
if: github.ref_name == 'main'
run: |
docker buildx bake --metadata-file /tmp/meta.json build
jq . /tmp/meta.json
digest=$(jq -r '.push_ghcr.["containerimage.digest"]' /tmp/meta.json)
echo "digest=$digest" >> "$GITHUB_OUTPUT"
- name: Sign the Docker image
if: github.ref_name == 'main'
run: cosign sign --yes ${{ env.IMAGE }}@${{ steps.publish.outputs.digest }}
- name: Attest the Docker image
uses: actions/attest-build-provenance@96278af6caaf10aea03fd8d33a09a777ca52d62f # v3.2.0
if: github.ref_name == 'main'
with:
subject-name: ${{ env.IMAGE }}
subject-digest: ${{ steps.publish.outputs.digest }}
push-to-registry: true
release:
needs: build
permissions:
contents: write
runs-on: ubuntu-latest
if: github.ref_name == 'main'
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Init
run: ./bin/init.sh
- uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0
with:
allowUpdates: true
body: See https://github.com/renovatebot/renovate/releases/tag/${{ env.VERSION }} for more changes
commit: ${{ github.sha }}
name: ${{ env.VERSION }}
tag: v${{ env.VERSION }}
token: ${{ secrets.GITHUB_TOKEN }}