Skip to content

Commit

Permalink
Add deploy doc dockerhub
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Poignant <[email protected]>
  • Loading branch information
thomaspoignant committed Nov 22, 2024
1 parent 6484b9f commit 9fd49d6
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
pre-version-check:
if: ${{ startsWith(github.event.release.tag_name, 'v') }}
if: ${{ startsWith(github.event.release.tag_name, 'v') }}
name: pre version check
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -101,6 +101,25 @@ jobs:
repository: gofeatureflag/go-feature-flag-lint
readme: "./cmd/lint/DOCKERHUB.md"

dockerhub-cli:
runs-on: ubuntu-latest
name: Upload dockerhub readme
needs:
- goreleaser
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Release readme to DockerHub
uses: ms-jpq/sync-dockerhub-readme@v1
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
with:
username: ${DOCKER_USERNAME}
password: ${DOCKER_PASSWORD}
repository: gofeatureflag/go-feature-flag-cli
readme: "./cmd/lint/DOCKERHUB.md"

dockerhub-relay-proxy:
runs-on: ubuntu-latest
name: Upload dockerhub readme
Expand Down

0 comments on commit 9fd49d6

Please sign in to comment.