mirror of
https://github.com/mcuadros/ascode
synced 2024-11-23 01:11:59 +01:00
28 lines
643 B
YAML
28 lines
643 B
YAML
name: Docker Push
|
|
on:
|
|
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 }} |