Skip to content

Merge pull request #126 from hvalev/dependabot/docker/debian-bookworm… #374

Merge pull request #126 from hvalev/dependabot/docker/debian-bookworm…

Merge pull request #126 from hvalev/dependabot/docker/debian-bookworm… #374

Workflow file for this run

name: ci
on:
push:
paths-ignore:
- 'README.md'
branches:
- '**'
jobs:
buildx:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space
uses: ShubhamTatvamasi/free-disk-space-action@master
- name: Checkout
uses: actions/checkout@v4
- name: Get Version
id: get_version
uses: battila7/get-version-action@v2.3.0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
# - name: Cache Docker layers
# uses: actions/cache@v4
# with:
# path: /tmp/.buildx-cache
# key: ${{ runner.os }}-buildx-${{ github.sha }}
# restore-keys: |
# ${{ runner.os }}-buildx-
- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
- name: Build shiny
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/arm/v7,linux/arm64,linux/amd64
target: shiny
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build shiny with devtools
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/arm/v7,linux/arm64,linux/amd64
target: shiny-with-devtools
cache-from: type=gha
cache-to: type=gha,mode=max