caddy-ingess/.github/workflows/dockerimage.yml
Marco Vito Moscaritolo 2e6dc7962f
Build docker images on merge into master (#29)
* Build docker images on merge into master

* Add username and password to login in docker hub
2020-05-16 11:29:23 -06:00

21 lines
430 B
YAML

name: Docker Image CI
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and push Docker images
uses: docker/build-push-action@v1.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: caddy/ingress
tag_with_ref: true
tag_with_sha: true