This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
Build and push image to Docker Hub #56
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and push image to Docker Hub | |
on: | |
push: | |
# Don't waste time building every push: consider only tags, which are | |
# usually releases | |
tags: | |
- '*' | |
jobs: | |
docker-build-push: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: mr-smithers-excellent/docker-build-push@v2 | |
with: | |
image: enketo/enketo-express | |
registry: docker.io | |
dockerfile: Dockerfile | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_PASSWORD }} |