Skip to content

Commit

Permalink
build and push bundler-reverse-proxy and anvil-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jakim929 committed Nov 28, 2023
1 parent 3cf89a9 commit 376dece
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 13 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/build-and-upload-all-services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,49 @@ jobs:
secrets: inherit
with:
bundler-name: transeptor-bundler
build-and-upload:
name: Build and publish images
runs-on: ubuntu-latest
environment: dockerhub
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
submodules: true

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN_SECRET }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build and push anvil-setup
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
target: anvil-setup
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ secrets.DOCKER_HUB_ACCESS_TOKEN_USERNAME }}/aa-playground:anvil-setup-${{ github.sha }}
${{ secrets.DOCKER_HUB_ACCESS_TOKEN_USERNAME }}/aa-playground:anvil-setup-latest
- name: Build and push bundler-reverse-proxy
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
target: bundler-reverse-proxy
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ secrets.DOCKER_HUB_ACCESS_TOKEN_USERNAME }}/aa-playground:bundler-reverse-proxy-${{ github.sha }}
${{ secrets.DOCKER_HUB_ACCESS_TOKEN_USERNAME }}/aa-playground:bundler-reverse-proxy-latest
13 changes: 0 additions & 13 deletions bundler-config.json

This file was deleted.

0 comments on commit 376dece

Please sign in to comment.