Skip to content

build(deps): bump the github-actions group across 1 directory with 9 updates #2120

build(deps): bump the github-actions group across 1 directory with 9 updates

build(deps): bump the github-actions group across 1 directory with 9 updates #2120

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
ci:
name: Build & Test
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
- name: Login to GitHub Container Registry
if: github.event_name == 'push'
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Prepare secrets
run: |
echo "${{ secrets.CONFIDENCE_CLIENT_SECRET }}" > /tmp/confidence_client_secret.txt
echo "${{ secrets.CONFIDENCE_CLIENT_ENCRYPTION_KEY }}" > /tmp/confidence_client_encryption_key.txt
- name: Build and test everything (PR)
if: github.event_name != 'push'
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7
with:
context: .
platforms: linux/arm64
push: false
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}/cache:main
secret-files: |
confidence_client_secret=/tmp/confidence_client_secret.txt
confidence_client_encryption_key=/tmp/confidence_client_encryption_key.txt
- name: Build and test everything (Push - updates cache)
if: github.event_name == 'push'
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7
with:
context: .
platforms: linux/arm64
push: false
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}/cache:main
cache-to: type=registry,ref=ghcr.io/${{ github.repository }}/cache:main,mode=max
secret-files: |
confidence_client_secret=/tmp/confidence_client_secret.txt
confidence_client_encryption_key=/tmp/confidence_client_encryption_key.txt