mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-22 09:37:09 +00:00
28 lines
717 B
YAML
Vendored
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
|