Skip to content

Merge pull request #94 from arvatoaws-labs/renovate/actions-checkout-4.x #42

Merge pull request #94 from arvatoaws-labs/renovate/actions-checkout-4.x

Merge pull request #94 from arvatoaws-labs/renovate/actions-checkout-4.x #42

Workflow file for this run

name: rust
on:
push:
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v1
# with:
# platforms: all
- name: Set up Docker Buildx
id: buildx
uses: docker/[email protected]
with:
install: true
version: latest
driver-opts: image=moby/buildkit:master
- name: Login to GitHub Packages Docker Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: jenkins-arvato
password: ${{ secrets.CR_PAT }}
- name: Build and Push
uses: docker/[email protected]
with:
platforms: linux/amd64 # ,linux/arm64
push: true
pull: true
file: ./Dockerfile.rust
tags: ghcr.io/arvatoaws-labs/lambda-pipeline/rust:latest
cache-from: type=registry,ref=ghcr.io/arvatoaws-labs/lambda-pipeline/rust:latest
cache-to: type=inline