Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… into main
  • Loading branch information
mario-winkler committed Oct 4, 2024
2 parents 3ed1156 + 66f0ef5 commit 4e3d624
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build-publish-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and publish Docker image
on:
push:
branches: [ main ]
tags:
- "*"
pull_request:
branches: [ main ]
jobs:
push_to_registry:
name: Build and push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: eoepca/registration-harvester:latest

0 comments on commit 4e3d624

Please sign in to comment.