Skip to content

Commit

Permalink
infrastructure: publish the bleeding edge main branch to dockerhub on…
Browse files Browse the repository at this point in the history
… each push to main
  • Loading branch information
bjarneo committed Aug 22, 2022
1 parent 32a3e97 commit a846da9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish_bleeding_edge_docker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish bleeding Eedge Docker image
on:
push:
branches: [main]
jobs:
push_to_registry:
name: Push the bleeding edge docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Push to Docker Hub
uses: docker/build-push-action@v2
with:
push: true
tags: hemmeligapp/hemmelig:bleeding-edge

0 comments on commit a846da9

Please sign in to comment.