matteo-the-prestige/.github/workflows/docker-image.yml

21 lines
563 B
YAML
Raw Normal View History

2021-01-01 19:23:18 +00:00
name: Docker Image CI
on:
push:
branches: [ master ]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
if: github.repository == 'Sakimori/matteo-the-prestige'
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: blaseballsibr/matteo-the-prestige
tags: latest