-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: github action to push md5hash worker to staging
- Loading branch information
1 parent
7dd3979
commit b5df260
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Publish MD5 Hash Worker to Dockerhub for Staging | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
api: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: development | ||
- name: "Setup Node version" | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.9.0 | ||
- name: Declare some variables | ||
id: vars | ||
shell: bash | ||
run: | | ||
echo "setting variables" | ||
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- uses: elgohr/Publish-Docker-Github-Action@main | ||
with: | ||
username: tattletech | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
name: tattletech/feluda-operator-md5hash | ||
workdir: src/ | ||
dockerfile: worker/md5hash/Dockerfile.md5hash_worker | ||
tags: worker-amd64-latest | ||
platforms: linux/amd64 |