fix(deps): update golang.org/x/exp digest to 0cdaa3a #72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Image build | |
on: | |
pull_request: {} | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-push: | |
name: Build and Push | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- name: cmapisrv-mock | |
context: cmapisrv-mock | |
dockerfile: ./cmapisrv-mock/Dockerfile | |
- name: scale-utils | |
context: egw-scale-utils | |
dockerfile: ./egw-scale-utils/Dockerfile | |
steps: | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1 | |
- name: Login to quay.io | |
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 | |
if: ${{ github.event_name == 'push' }} | |
with: | |
registry: quay.io | |
username: ${{ secrets.QUAY_USERNAME_SCAFFOLDING }} | |
password: ${{ secrets.QUAY_PASSWORD_SCAFFOLDING }} | |
- name: Checkout Source Code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
persist-credentials: false | |
- name: Build and Push | |
uses: docker/build-push-action@16ebe778df0e7752d2cfcbd924afdbbd89c1a755 # v6.6.1 | |
with: | |
context: ${{ matrix.context }} | |
file: ${{ matrix.dockerfile }} | |
push: ${{ github.event_name == 'push' }} | |
platforms: linux/amd64,linux/arm64 | |
tags: | | |
quay.io/${{ github.repository_owner }}/${{ matrix.name }}:${{ github.event.pull_request.head.sha || github.sha }} |