rescale_with_baseline
default value changed
#4
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
name: Build and publish a Docker image to ghcr.io | |
on: | |
# publish on releases, e.g. v2.1.13 (image tagged as "2.1.13" - "v" prefix is removed) | |
release: | |
types: [ published ] | |
# publish on pushes to the main branch (image tagged as "latest") | |
push: | |
branches: | |
- main | |
jobs: | |
docker_publish: | |
runs-on: "ubuntu-22.04" | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v3 | |
# https://github.com/marketplace/actions/push-to-ghcr | |
- name: Build and publish a Docker image for ${{ github.repository }} | |
uses: macbre/push-to-ghcr@master | |
with: | |
image_name: ${{ github.repository }} # it will be lowercased internally | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
dockerfile: ./docker/Dockerfile | |
# optionally push to the Docker Hub (docker.io) | |
# docker_io_token: ${{ secrets.DOCKER_IO_ACCESS_TOKEN }} # see https://hub.docker.com/settings/security | |
# customize the username to be used when pushing to the Docker Hub | |
# docker_io_user: foobar # see https://github.com/macbre/push-to-ghcr/issues/14 |