Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
♻️ Add Docker Hub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dwisiswant0 committed Nov 2, 2020
1 parent 765cd18 commit 1d78b43
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build-push-dockerhub.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish to Docker Hub on creation of a new release
on:
release:
types: [published]

jobs:
build:
name: Build and Push Docker images
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Build & Push to Docker Hub
uses: docker/build-push-action@v1.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ github.repository }}
tags: latest

0 comments on commit 1d78b43

Please # to comment.