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-27 19:22:44 +01:00

25 lines
620 B
YAML

name: Docker Push
on: [push, create]
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 }}