Skip to content

chore(deps): update gcr.io/distroless/static-debian12:debug docker digest to 5bc19e8 #12

chore(deps): update gcr.io/distroless/static-debian12:debug docker digest to 5bc19e8

chore(deps): update gcr.io/distroless/static-debian12:debug docker digest to 5bc19e8 #12

Workflow file for this run

---
name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
env:
IMAGE: "ghcr.io/${{ github.repository }}"
PLATFORMS: "linux/amd64,linux/arm64"
REGISTRY: "ghcr.io"
TEST_TAG: "ghcr.io/${{ github.repository }}:test"
jobs:
docker:
name: Docker
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3
- name: Log in to the Container registry
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build test image
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5
with:
context: .
load: true
tags: ${{ env.TEST_TAG }}
cache-from: type=gha
- name: Validate Container
id: validate
run: |
docker run --rm -i --entrypoint=/usr/local/bin/buildpulse-test-reporter ${{ env.TEST_TAG }} --help 2>&1 \
| grep 'buildpulse-test-reporter submit TEST_RESULTS_PATH'
version="$(docker image inspect ${{ env.TEST_TAG }} --format='{{ index .Config.Labels "org.opencontainers.image.version" }}')"
echo "tags=${IMAGE}:latest,${IMAGE}:${version}" >> "$GITHUB_OUTPUT"
- name: Build images
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5
with:
context: .
platforms: ${{ env.PLATFORMS }}
push: ${{ github.ref == 'refs/heads/main' }}
tags: ${{ steps.validate.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max