Skip to content

chore(deps): update ghcr.io/containerbase/devcontainer docker tag to … #4842

chore(deps): update ghcr.io/containerbase/devcontainer docker tag to …

chore(deps): update ghcr.io/containerbase/devcontainer docker tag to … #4842

Workflow file for this run

name: build-push
on:
push:
branches-ignore:
- gh-readonly-queue/**
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
DRY_RUN: ${{ github.ref_name != 'main' }}
OWNER: ${{ github.repository_owner }}
FILE: base
BUILDKIT_PROGRESS: plain
BUILDX_NO_DEFAULT_LOAD: 1
CONTAINERBASE_VERSION: ${{ github.sha }}
APT_HTTP_PROXY: http://172.17.0.1:8000
jobs:
build:
uses: ./.github/workflows/build.yml
permissions:
contents: read
checks: write
secrets:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
release:
needs: [build]
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: write
packages: write
id-token: write
steps:
- name: docker-config
uses: containerbase/internal-tools@3ef3d9c7ef2dc55a6236969f1e0299a0fad6fa34 # v3.0.32
with:
command: docker-config
# full checkout for semantic-release
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
show-progress: false
- uses: sigstore/cosign-installer@9614fae9e5c5eddabb09f90a270fcb487c9f7149 # v3.3.0
- name: init
run: |
echo "OWNER=${OWNER,,}" >> ${GITHUB_ENV}
echo "CACHE_WEEK=$(date +%U)" >> $GITHUB_ENV
- name: 📥 Setup Node.js
uses: ./.github/actions/setup-node
- name: Docker registry login
if: github.ref_name == 'main'
run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
- name: prepare apt proxy
run: sudo pnpm prepare:proxy
- name: semantic-release
if: github.event_name == 'push'
run: pnpm semantic-release --dry-run ${{env.DRY_RUN}} --ci ${{env.DRY_RUN != 'true'}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}