Skip to content

Merge pull request #1096 from ipfs-force-community/chore/pick-1093-1095 #56

Merge pull request #1096 from ipfs-force-community/chore/pick-1093-1095

Merge pull request #1096 from ipfs-force-community/chore/pick-1093-1095 #56

Workflow file for this run

name: docker
on:
push:
tags: ['v*']
jobs:
build:
runs-on: ubuntu-20.04
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
TAG: latest
steps:
- uses: actions/checkout@v4
- name: login docker hub
uses: docker/login-action@v3
with:
username: ${{ env.DOCKER_USERNAME }}
password: ${{ env.DOCKER_PASSWORD }}
- name: build and push manager docker image
run: |
make docker-manager
docker tag damocles-manager filvenus/damocles-manager:${{ env.TAG }}
docker push filvenus/damocles-manager:${{ env.TAG }}
docker tag damocles-manager filvenus/damocles-manager:${{ github.ref_name }}
docker push filvenus/damocles-manager:${{ github.ref_name }}
- name: build and push worker docker image
run: |
make docker-worker
docker tag damocles-worker filvenus/damocles-worker:${{ env.TAG }}
docker push filvenus/damocles-worker:${{ env.TAG }}
docker tag damocles-worker filvenus/damocles-worker:${{ github.ref_name }}
docker push filvenus/damocles-worker:${{ github.ref_name }}