Skip to content

Build

Build #181

Workflow file for this run

name: Build
on:
push:
branches:
- main
schedule: # Run everyday
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v5
with:
push: true
tags: articulate/http-to-https:latest
platforms: linux/amd64
cache-from: type=registry,ref=articulate/http-to-https:latest
cache-to: type=inline