Skip to content

build(deps): bump node from 21.6.0-bullseye-slim to 21.6.1-bullseye-s… #152

build(deps): bump node from 21.6.0-bullseye-slim to 21.6.1-bullseye-s…

build(deps): bump node from 21.6.0-bullseye-slim to 21.6.1-bullseye-s… #152

Workflow file for this run

---
name: Stage
on:
workflow_dispatch:
push:
branches:
- master
env:
PLATFORMS: linux/amd64,linux/arm/v7,linux/arm64/v8
jobs:
stage:
runs-on: ubuntu-latest
environment: staging
name: Build early access and publish to GitHub
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup QEMU
uses: docker/[email protected]
- name: Setup Docker Buildx
uses: docker/[email protected]
- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ hashFiles('Dockerfile', '.dockerignore') }}
- name: Login to GHCR
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GPR_PAT }}
- name: Build images and push to GHCR
uses: docker/[email protected]
with:
context: .
push: true
platforms: ${{ env.PLATFORMS }}
tags: ghcr.io/tomerfi/version-bumper:early-access
build-args: |
VCS_REF=${{ github.sha }}
BUILD_DATE=$(date +'%Y-%m-%d')
VERSION=early-access
cache-from: |
type=local,src=/tmp/.buildx-cache
ghcr.io/tomerfi/version-bumper:early-access
cache-to: type=local,dest=/tmp/.buildx-cache