fix(deps): update ghcr.io/containerbase/base docker tag to v9.31.2 #96
Workflow file for this run
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 | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
DRY_RUN: ${{ github.ref_name != 'main' }} | |
OWNER: ${{ github.repository_owner }} | |
PLATFORMS: linux/amd64 | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
packages: write | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: sigstore/cosign-installer@9614fae9e5c5eddabb09f90a270fcb487c9f7149 # v3.3.0 | |
- name: Docker registry login | |
if: env.DRY_RUN == 'false' | |
run: | | |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ env.OWNER }} --password-stdin | |
- name: Publish to ghcr.io | |
uses: containerbase/internal-tools@5dd052d10c7f2cb0584d40d1f00be6e1328feff0 # v3.0.42 | |
with: | |
command: docker-builder | |
image-prefix: ghcr.io/${{ env.OWNER }} | |
platforms: ${{ env.PLATFORMS }} | |
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Init | |
run: ./bin/init.sh | |
- uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # v1.13.0 | |
if: env.DRY_RUN == 'false' | |
with: | |
allowUpdates: true | |
body: See https://github.com/containerbase/base/releases/tag/${{ env.VERSION }} for more changes | |
commit: ${{ github.sha }} | |
name: ${{ env.VERSION }} | |
tag: v${{ env.VERSION }} | |
token: ${{ secrets.GITHUB_TOKEN }} |