cloud-game/.github/workflows/docker_publish.yml
sergystepanov 3837e020cd
Enable legacy Github Docker Registry publishing workflow (#247)
* Update Docker publishing script
2020-11-25 00:22:37 +03:00

28 lines
717 B
YAML
Vendored

# ------------------------------------------------------------------------
# Publish Docker image from the current snapshot into Github repository
# ------------------------------------------------------------------------
name: publish
on:
push:
branches:
- master
tags:
- 'v*'
jobs:
docker-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
add_git_labels: true
tag_with_ref: true
registry: docker.pkg.github.com
repository: ${{ github.REPOSITORY }}/cloud-game