Skip to content

Update aws and storage minor and patch updates #418

Update aws and storage minor and patch updates

Update aws and storage minor and patch updates #418

Workflow file for this run

# Make sure to enable 'Require status checks to pass before merging' on the branch protection,
# and to select the 'Build-and-Push' action.
name: Build and Push
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
Build-and-Push:
runs-on: ubuntu-latest
if: github.event.pull_request.base.ref != 'main'
steps:
- name: Checkout master
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
- name: Log in to container registry
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push image
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7
with:
push: true
tags: |
ghcr.io/vzauartcc/api:${{ github.sha }}
ghcr.io/vzauartcc/api:buildcache
cache-from: type=registry,ref=ghcr.io/vzauartcc/api:buildcache
cache-to: type=registry,ref=ghcr.io/vzauartcc/api:buildcache,mode=max