Bumps [regclient/actions/regctl-installer](https://github.com/regclient/actions) from 4b4db1dcc7dad75ad67a788a380f75a20cc8a040 to 9a2d4216180dbb3e2dccfa60d2dd4afd98e42ec5. - [Release notes](https://github.com/regclient/actions/releases) - [Changelog](https://github.com/regclient/actions/blob/main/RELEASE.md) - [Commits](https://github.com/regclient/actions/compare/4b4db1dcc7dad75ad67a788a380f75a20cc8a040...9a2d4216180dbb3e2dccfa60d2dd4afd98e42ec5) --- updated-dependencies: - dependency-name: regclient/actions/regctl-installer dependency-version: 9a2d4216180dbb3e2dccfa60d2dd4afd98e42ec5 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
name: Update devcontainer image
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 8 * * 1'
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
HELM_VERSION: v3.11.1
|
|
|
|
jobs:
|
|
build-and-push-devcontainer-image:
|
|
runs-on: ubuntu-20.04
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
packages: write
|
|
|
|
env:
|
|
COSIGN_EXPERIMENTAL: 1
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
- name: Install cosign
|
|
uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2
|
|
with:
|
|
cosign-release: v2.2.3
|
|
- name: Install regctl
|
|
uses: regclient/actions/regctl-installer@9a2d4216180dbb3e2dccfa60d2dd4afd98e42ec5 # main
|
|
- name: Log in to GHCR
|
|
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Build / Push images
|
|
run: |
|
|
set -e
|
|
cd .devcontainer/
|
|
docker build -t ghcr.io/spiffe/helm-charts-hardened-devcontainer:latest .
|
|
docker push ghcr.io/spiffe/helm-charts-hardened-devcontainer:latest
|