fix(deps): update ghcr.io/containerbase/base docker tag to v9.15.0 #773
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: build | |
on: | |
push: | |
branches: | |
- main | |
- 'renovate/**' | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
DRY_RUN: ${{ github.ref != 'refs/heads/main' }} | |
OWNER: ${{ github.repository_owner }} | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
packages: write | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 # v3.1.1 | |
- name: Docker registry login | |
if: env.DRY_RUN == 'false' | |
run: | | |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin | |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ env.OWNER }} --password-stdin | |
- name: Publish to docker.io | |
uses: containerbase/internal-tools@a2eb489b908609773490b08e7ff52bdeb196f5c6 # v1.21.14 | |
with: | |
command: docker-builder | |
image-prefix: ${{ env.OWNER }} | |
platforms: linux/amd64,linux/arm64 | |
last-only: true | |
major-minor: false | |
dry-run: ${{ env.DRY_RUN }} | |
- name: Publish to ghcr.io | |
uses: containerbase/internal-tools@a2eb489b908609773490b08e7ff52bdeb196f5c6 # v1.21.14 | |
with: | |
command: docker-builder | |
image-prefix: ghcr.io/${{ env.OWNER }} | |
platforms: linux/amd64,linux/arm64 | |
last-only: true | |
major-minor: false | |
dry-run: ${{ env.DRY_RUN }} | |
release: | |
needs: build | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Init | |
run: ./bin/init.sh | |
- uses: ncipollo/release-action@a2e71bdd4e7dab70ca26a852f29600c98b33153e # v1.12.0 | |
if: env.DRY_RUN == 'false' | |
with: | |
allowUpdates: true | |
body: See https://github.com/containerbase/buildpack/releases/tag/${{ env.VERSION }} for more changes | |
commit: ${{ github.sha }} | |
name: ${{ env.VERSION }} | |
tag: v${{ env.VERSION }} | |
token: ${{ secrets.GITHUB_TOKEN }} |