Bumps [docker/login-action](https://github.com/docker/login-action) from 3.0.0 to 3.1.0. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v3...v3.1.0) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
|
- name: Install cosign
|
|
uses: sigstore/cosign-installer@e1523de7571e31dbe865fd2e80c5c7c23ae71eb4 # v3.4.0
|
|
with:
|
|
cosign-release: v2.2.3
|
|
- name: Install regctl
|
|
uses: regclient/actions/regctl-installer@b6614f5f56245066b533343a85f4109bdc38c8cc # main
|
|
- name: Log in to GHCR
|
|
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.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
|