Skip to content

chore(deps): update dependency node to v20.11.0 #84

chore(deps): update dependency node to v20.11.0

chore(deps): update dependency node to v20.11.0 #84

Workflow file for this run

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,linux/arm64
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@e9339b1d0afbd803ac151b2111e55c300d6863b7 # v3.0.44
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 }}