-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
229 additions
and
206 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
51 changes: 29 additions & 22 deletions
51
.github/workflows/docker-push-audiovec-worker-staging.yml
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 |
---|---|---|
@@ -1,33 +1,40 @@ | ||
name: Publish Audio Worker to Dockerhub for Staging | ||
|
||
permissions: | ||
contents: read | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
api: | ||
docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 # v3.2.0 | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v.3.1.0 | ||
with: | ||
ref: development | ||
- name: "Setup Node version" | ||
uses: actions/setup-node@v4 | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Build and push amd64 | ||
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0 | ||
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 | ||
context: "{{defaultContext}}:src/" | ||
file: worker/audiovec/Dockerfile.audio_worker | ||
platforms: linux/amd64 | ||
push: true | ||
tags: tattletech/feluda-operator-audiovec:worker-amd64-latest | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- uses: elgohr/Publish-Docker-Github-Action@main | ||
- name: Build and push arm64 | ||
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0 | ||
with: | ||
username: tattletech | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
name: tattletech/feluda-operator-audiovec | ||
workdir: src/ | ||
dockerfile: worker/audiovec/Dockerfile.audio_worker | ||
tags: worker-amd64-latest | ||
platforms: linux/amd64 | ||
context: "{{defaultContext}}:src/" | ||
file: worker/audiovec/Dockerfile.audio_worker_graviton | ||
platforms: linux/arm64 | ||
push: true | ||
tags: tattletech/feluda-operator-audiovec:worker-arm64-latest |
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 |
---|---|---|
@@ -1,33 +1,40 @@ | ||
name: Publish Hash Worker to Dockerhub for Staging | ||
|
||
permissions: | ||
contents: read | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
api: | ||
docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 # v3.2.0 | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v.3.1.0 | ||
with: | ||
ref: development | ||
- name: "Setup Node version" | ||
uses: actions/setup-node@v4 | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Build and push amd64 | ||
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0 | ||
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 | ||
context: "{{defaultContext}}:src/" | ||
file: worker/hash/Dockerfile.hash_worker | ||
platforms: linux/amd64 | ||
push: true | ||
tags: tattletech/feluda-operator-hash:worker-amd64-latest | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- uses: elgohr/Publish-Docker-Github-Action@main | ||
- name: Build and push arm64 | ||
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0 | ||
with: | ||
username: tattletech | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
name: tattletech/feluda-operator-hash | ||
workdir: src/ | ||
dockerfile: worker/hash/Dockerfile.hash_worker | ||
tags: worker-amd64-latest | ||
platforms: linux/amd64 | ||
context: "{{defaultContext}}:src/" | ||
file: worker/hash/Dockerfile.hash_worker_graviton | ||
platforms: linux/arm64 | ||
push: true | ||
tags: tattletech/feluda-operator-hash:worker-arm64-latest |
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 |
---|---|---|
@@ -1,54 +1,40 @@ | ||
name: Publish Video Operator to Dockerhub | ||
|
||
permissions: | ||
contents: read | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
api: | ||
docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: master | ||
- 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 QEMU | ||
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- uses: elgohr/Publish-Docker-Github-Action@main | ||
uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 # v3.2.0 | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v.3.1.0 | ||
with: | ||
username: tattletech | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
name: tattletech/feluda-operator-vidvec | ||
workdir: src/ | ||
dockerfile: benchmark/vidvec/Dockerfile.vid_vec_rep_resnet | ||
tags: benchmark-amd64-latest | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Build and push amd64 | ||
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0 | ||
with: | ||
context: "{{defaultContext}}:src/" | ||
file: benchmark/vidvec/Dockerfile.vid_vec_rep_resnet | ||
platforms: linux/amd64 | ||
- uses: elgohr/Publish-Docker-Github-Action@main | ||
push: true | ||
tags: tattletech/feluda-operator-vidvec:benchmark-amd64-latest | ||
|
||
- name: Build and push arm64 | ||
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0 | ||
with: | ||
username: tattletech | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
name: tattletech/feluda-operator-vidvec | ||
workdir: src/ | ||
dockerfile: benchmark/vidvec/Dockerfile.vid_vec_rep_resnet_graviton | ||
tags: benchmark-arm64-latest | ||
context: "{{defaultContext}}:src/" | ||
file: benchmark/vidvec/Dockerfile.vid_vec_rep_resnet_graviton | ||
platforms: linux/arm64 | ||
|
||
# - name: deploy to cluster | ||
# uses: steebchen/[email protected] | ||
# with: # defaults to latest kubectl binary version | ||
# config: ${{ secrets.PROD_KUBE_CONFIG_DATA }} | ||
# command: set image --record deployment/feluda-server feluda-server=tattletech/feluda-server:${{ steps.vars.outputs.sha_short }} | ||
# - name: verify deployment | ||
# uses: steebchen/[email protected] | ||
# with: | ||
# config: ${{ secrets.PROD_KUBE_CONFIG_DATA }} | ||
# version: v1.21.0 # specify kubectl binary version explicitly | ||
# command: rollout status deployment/feluda-server | ||
push: true | ||
tags: tattletech/feluda-operator-vidvec:benchmark-arm64-latest |
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 |
---|---|---|
@@ -1,33 +1,40 @@ | ||
name: Publish Video Worker to Dockerhub for Staging | ||
|
||
permissions: | ||
contents: read | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
api: | ||
docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 # v3.2.0 | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v.3.1.0 | ||
with: | ||
ref: development | ||
- name: "Setup Node version" | ||
uses: actions/setup-node@v4 | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Build and push amd64 | ||
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0 | ||
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 | ||
context: "{{defaultContext}}:src/" | ||
file: worker/vidvec/Dockerfile.video_worker | ||
platforms: linux/amd64 | ||
push: true | ||
tags: tattletech/feluda-operator-vidvec:worker-amd64-latest | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- uses: elgohr/Publish-Docker-Github-Action@main | ||
- name: Build and push arm64 | ||
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0 | ||
with: | ||
username: tattletech | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
name: tattletech/feluda-operator-vidvec | ||
workdir: src/ | ||
dockerfile: worker/vidvec/Dockerfile.video_worker | ||
tags: worker-amd64-latest | ||
platforms: linux/amd64 | ||
context: "{{defaultContext}}:src/" | ||
file: worker/vidvec/Dockerfile.video_worker_graviton | ||
platforms: linux/arm64 | ||
push: true | ||
tags: tattletech/feluda-operator-vidvec:worker-arm64-latest |
Oops, something went wrong.