Skip to content

Commit

Permalink
ci: github action to push md5hash worker to staging
Browse files Browse the repository at this point in the history
  • Loading branch information
aatmanvaidya committed Mar 7, 2024
1 parent 7dd3979 commit b5df260
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/docker-push-md5hash-worker-staging.yml
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

0 comments on commit b5df260

Please sign in to comment.