1
1
mirror of https://github.com/mcuadros/ascode synced 2024-11-23 01:11:59 +01:00
ascode/.github/workflows/docker.yml
2020-03-17 18:52:12 +01:00

25 lines
664 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: ${{ secrets.DOCKER_USERNAME }}
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: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}