Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

add manual push latest image to dockerhub #2

Merged
merged 2 commits into from
Oct 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading