Skip to content

Commit

Permalink
add manual push latest image to dockerhub (#2)
Browse files Browse the repository at this point in the history
add manual push latest image to dockerhub
  • Loading branch information
genric authored Oct 28, 2024
1 parent 4255747 commit f3b283e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: dockerhub

on:
workflow_dispatch:

jobs:
push_latest:
name: Push latest dockerhub image
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Build sdist
run: pipx run build --sdist
- name: Check dist metadata
run: pipx run twine check dist/*
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.BBPBUILDBOT_DOCKERHUB_USER }}
password: ${{ secrets.BBPBUILDBOT_DOCKERHUB_PASSWORD }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v5
with:
push: true
tags: bluebrain/bbp-workflow:latest

0 comments on commit f3b283e

Please sign in to comment.