Bump to 0.9.1 #34
Workflow file for this run
This file contains hidden or 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: Docker build and push | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
tags: | |
- v* | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
- name: Build and push Docker images | |
# You may pin to the exact commit or the version. | |
# uses: docker/build-push-action@92e71463491f2d026a477188b8ad3a0fdd9d672c | |
uses: docker/build-push-action@v1.1.0 | |
with: | |
# Username used to log in to a Docker registry. If not set then no login will occur | |
username: ${{ github.actor }} | |
# Password or personal access token used to log in to a Docker registry. If not set then no login will occur | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Server address of Docker registry. If not set then will default to Docker Hub | |
registry: docker.pkg.github.com | |
# Docker repository to tag the image with | |
repository: open-cogsci/omm-server/omm-server | |
# Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags | |
tags: latest # optional | |
# Automatically tags the built image with the git reference as per the readme | |
tag_with_ref: true # optional | |
# Automatically tags the built image with the git short SHA as per the readme | |
# tag_with_sha: true # optional | |
# Path to the build context | |
# path: # optional, default is . | |
# Path to the Dockerfile (Default is '{path}/Dockerfile') | |
# dockerfile: 'docker/Dockerfile' | |
# Sets the target stage to build | |
# target: production | |
# Always attempt to pull a newer version of the image | |
# always_pull: # optional | |
# Comma-delimited list of build-time variables | |
# build_args: # optional | |
# Comma-delimited list of images to consider as cache sources | |
# cache_froms: # optional | |
# Comma-delimited list of labels to add to the built image | |
# labels: # optional | |
# Adds labels with git repository information to the built image | |
# add_git_labels: # optional |