container image #579
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sync with https://github.com/fphammerle/docker-onion-service/blob/master/.github/workflows/container-image.yml | |
name: container image | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 20 * * 5' | |
jobs: | |
docker-build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: docker/[email protected] | |
- uses: docker/[email protected] | |
# > By default, this action uses the Git context so you don't need to use | |
# > the actions/checkout action to checkout the repository because this | |
# > will be done directly by buildkit. [...] | |
# > any file mutation in the steps that precede [...] will be ignored | |
# https://github.com/marketplace/actions/build-and-push-docker-images | |
- uses: docker/[email protected] | |
with: | |
platforms: | | |
linux/amd64 | |
linux/arm/v7 |