Publish Audio Worker to Dockerhub for Staging #1
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: Publish Audio 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-audiovec | |
workdir: src/ | |
dockerfile: worker/audiovec/Dockerfile.audio_worker | |
tags: worker-latest-amd64 | |
platforms: linux/amd64 |