Skip to content

Merge pull request #17 from eightseventhreethree/dependabot/go_module… #14

Merge pull request #17 from eightseventhreethree/dependabot/go_module…

Merge pull request #17 from eightseventhreethree/dependabot/go_module… #14

Workflow file for this run

name: Build multiarch containers
on:
push:
branches:
- main
jobs:
build-py:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: login to docker hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: build the image
run: |
cd python && \
make build-multiarch
build-go:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: login to docker hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: build the image
run: |
cd go && \
make build-multiarch