Skip to content

chore(deps): update gcr.io/distroless/cc docker digest to 0c8eac8 #786

chore(deps): update gcr.io/distroless/cc docker digest to 0c8eac8

chore(deps): update gcr.io/distroless/cc docker digest to 0c8eac8 #786

Workflow file for this run

name: build / container image
on:
push:
branches:
- main
tags:
- v*
pull_request:
paths:
- 'Dockerfile'
- '.dockerignore'
- '.github/workflows/build-image.yml'
merge_group:
permissions:
id-token: write
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Docker meta
id: meta
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
with:
tags: |
type=semver,pattern={{version}}
type=ref,event=branch
type=ref,event=pr
type=sha
images: ${{ secrets.ECR_URL }}/${{ github.repository }}
- name: Set up Buildx
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df # v4.2.1
with:
role-to-assume: ${{ secrets.IAM_ROLE }}
aws-region: ap-northeast-1
- name: Login to Amazon ECR
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ${{ secrets.ECR_URL }}
- name: Build and Push
uses: docker/build-push-action@14487ce63c7a62a4a324b0bfb37086795e31c6c1 # v6.16.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max