1
1
mirror of https://github.com/mcuadros/ascode synced 2024-11-26 06:01:08 +01:00
ascode/.github/workflows/docker.yml
2020-03-29 01:12:41 +01:00

31 lines
680 B
YAML

name: Docker Push
on:
push:
branches:
- master
release:
types:
- created
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build image
uses: mr-smithers-excellent/docker-build-push@v2
with:
image: mcuadros/ascode
registry: docker.io
username: mcuadros
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Tag image
uses: mr-smithers-excellent/docker-build-push@v2
with:
image: mcuadros/ascode
registry: docker.io
tag: latest
username: mcuadros
password: ${{ secrets.DOCKER_PASSWORD }}