ci(deps): bump @aws-sdk/client-s3 from 3.485.0 to 3.564.0 #1247
Workflow file for this run
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: Container - Test | |
on: | |
push: | |
branches-ignore: [stable] | |
paths-ignore: | |
- ".**" | |
- "**.md" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
db_type: | |
- mongodb | |
- postgresql | |
- mariadb | |
- file | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up metadata | |
id: pkg_meta | |
run: | | |
echo "::set-output name=package_scope::@awesome-database-backup/awesome-${{ matrix.db_type }}-backup" | |
echo "::set-output name=package_path::apps/awesome-${{ matrix.db_type }}-backup" | |
echo "::set-output name=package_image_name::weseek/awesome-${{ matrix.db_type }}-backup" | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Cache Docker layers | |
uses: actions/cache@v2 | |
with: | |
path: /tmp/.buildx-cache | |
key: | |
${{ runner.os }}-buildx-app-${{ matrix.db_type }}-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-buildx-app-${{ matrix.db_type }}- | |
${{ runner.os }}-buildx-app- | |
- name: Build container (No push) | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
file: ./docker/Dockerfile | |
platforms: linux/amd64 | |
load: true | |
build-args: | | |
packageScope=${{ steps.pkg_meta.outputs.package_scope }} | |
packagePath=${{ steps.pkg_meta.outputs.package_path }} | |
dbType=${{ matrix.db_type }} | |
cache-from: type=local,src=/tmp/.buildx-cache | |
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max | |
tags: ${{ steps.pkg_meta.outputs.package_image_name }}:latest | |
# ref: https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md#local-cache | |
# :warning: At the moment caches are copied over the existing cache so it [keeps growing](https://github.com/docker/build-push-action/issues/252). | |
# The `Move cache` step is used as a temporary fix (see https://github.com/moby/buildkit/issues/1896). | |
- name: Move cache | |
run: | | |
rm -rf /tmp/.buildx-cache | |
mv /tmp/.buildx-cache-new /tmp/.buildx-cache | |
- name: Run structure tests | |
uses: brpaz/[email protected] | |
with: | |
image: ${{ steps.pkg_meta.outputs.package_image_name }}:latest | |
configFile: ./docker/test/${{ matrix.db_type }}/structure-tests.yml |