Skip to content

web-mod & api-mod v1 #14

web-mod & api-mod v1

web-mod & api-mod v1 #14

name: docker build and publish web-1080
on:
push:
branches: redo
jobs:
main:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push web-1080
uses: docker/build-push-action@v2
with:
context: ./packages/web-1080
file: ./packages/web-1080/Dockerfile
push: true
tags: longlivethepenguin/bobarr-1080-web:latest
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8
cache-from: type=registry,ref=longlivethepenguin/bobarr-1080-web:latest
cache-to: type=inline
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}