dockerhub #6
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: 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: | |
context: . | |
push: true | |
tags: bluebrain/bbp-workflow:latest |