Skip to content

Commit

Permalink
feat: Added jax containers to autopush.
Browse files Browse the repository at this point in the history
  • Loading branch information
KaleabTessera committed Apr 19, 2022
1 parent 86858c2 commit 8da8562
Showing 1 changed file with 128 additions and 0 deletions.
128 changes: 128 additions & 0 deletions .github/workflows/push_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,71 @@ jobs:
tags: ${{ steps.vars2.outputs.docker_repo }}:meltingpot-latest
target: meltingpot


-
name: Build and push jax-core
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.vars2.outputs.docker_repo }}:jax-core-latest
target: jax-core

-
name: Build and push pz-jax
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.vars2.outputs.docker_repo }}:pz-jax-latest
target: pz-jax

-
name: Build and push sc2-jax
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.vars2.outputs.docker_repo }}:sc2-jax-latest
target: sc2-jax


-
name: Build and push flatland-jax
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.vars2.outputs.docker_repo }}:flatland-jax-latest
target: flatland-jax

-
name: Build and push robocup-jax
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.vars2.outputs.docker_repo }}:robocup-jax-latest
target: robocup-jax

-
name: Build and push openspiel-jax
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.vars2.outputs.docker_repo }}:openspiel-jax-latest
target: openspiel-jax

-
name: Build and push meltingpot-jax
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.vars2.outputs.docker_repo }}:meltingpot-jax-latest
target: meltingpot-jax

# Action pushes new docker image if we have a PR to dev and have the label benchmark
build-push-branches:
if: ${{ github.event.label.name == 'benchmark' }}
Expand Down Expand Up @@ -196,3 +261,66 @@ jobs:
push: true
tags: ${{ steps.vars2.outputs.docker_repo }}:meltingpot-${{ steps.vars.outputs.sha_short }}
target: meltingpot

-
name: Build and push jax-core
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.vars2.outputs.docker_repo }}:jax-core-${{ steps.vars.outputs.sha_short }}
target: jax-core

-
name: Build and push pz-jax
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.vars2.outputs.docker_repo }}:pz-jax-${{ steps.vars.outputs.sha_short }}
target: pz-jax

-
name: Build and push sc2-jax
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.vars2.outputs.docker_repo }}:sc2-jax-${{ steps.vars.outputs.sha_short }}
target: sc2-jax

-
name: Build and push flatland-jax
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.vars2.outputs.docker_repo }}:flatland-jax-${{ steps.vars.outputs.sha_short }}
target: flatland-jax

-
name: Build and push robocup-jax
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.vars2.outputs.docker_repo }}:robocup-jax-${{ steps.vars.outputs.sha_short }}
target: robocup-jax

-
name: Build and push openspiel-jax
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.vars2.outputs.docker_repo }}:openspiel-jax-${{ steps.vars.outputs.sha_short }}
target: openspiel-jax

-
name: Build and push meltingpot
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.vars2.outputs.docker_repo }}:meltingpot-jax-${{ steps.vars.outputs.sha_short }}
target: meltingpot-jax

0 comments on commit 8da8562

Please sign in to comment.