Skip to content

Commit

Permalink
Changed docker build from alpine to ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
wsobel committed Jun 19, 2024
1 parent 777023f commit 4050834
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
name: Build Docker image

env:
PLATFORMS: linux/amd64 #,linux/arm64
PLATFORMS: linux/amd64,linux/arm64

# when to run workflow
on:
Expand All @@ -38,10 +38,10 @@ jobs:
max-parallel: 1
matrix:
include:
- dockerfile: docker/alpine/Dockerfile
- dockerfile: docker/ubuntu/Dockerfile
name: agent
- dockerfile: demo/Dockerfile
name: demo
# - dockerfile: demo/Dockerfile
# name: demo

# steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -52,12 +52,12 @@ jobs:

# the QEMU emulator lets us build for arm processors also
# see https://github.com/docker/setup-qemu-action
# - name: Set up QEMU emulator
# uses: docker/setup-qemu-action@v3
- name: Set up QEMU emulator
uses: docker/setup-qemu-action@v3

# see https://github.com/docker/setup-buildx-action
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v3
Expand All @@ -76,7 +76,7 @@ jobs:
with:
context: .
file: ${{ matrix.dockerfile }}
# platforms: ${{ env.PLATFORMS }}
platforms: ${{ env.PLATFORMS }}

# docker hub user/repo:tag
tags: |
Expand Down

0 comments on commit 4050834

Please sign in to comment.