Skip to content

Build Serverless Docker Base #456

Build Serverless Docker Base

Build Serverless Docker Base #456

name: Build Serverless Docker Base
on:
schedule:
- cron: "0 14 * * *"
workflow_dispatch:
jobs:
build-docker-base:
runs-on: ubuntu-latest
name: "Build Base Images"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '25'
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Log in to the Container registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Server Base - Build and push
uses: docker/build-push-action@v2
with:
context: server/base
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/robertfmurdock/coupling-serverless-base:latest