Skip to content

Commit

Permalink
fixing the docker edge flow
Browse files Browse the repository at this point in the history
Signed-off-by: Daan Gerits <daan.gerits@gmail.com>
  • Loading branch information
calmera committed Oct 21, 2024
1 parent a42c1d2 commit e86dad7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/docker_edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,8 @@ jobs:
uses: docker/build-push-action@v6
with:
context: ./
file: ./resources/docker/Dockerfile
file: ./Dockerfile
builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/${{ github.repository_owner }}/wombat:edge

- name: Build and push CGO
uses: docker/build-push-action@v6
with:
context: ./
file: ./resources/docker/Dockerfile.cgo
push: true
tags: ghcr.io/${{ github.repository_owner }}/wombat:edge-cgo
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ RUN sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/loc

WORKDIR /go/src/github.com/wombatwisdom/wombat/
# Update dependencies: On unchanged dependencies, cached layer will be reused
COPY go.* /go/src/github.com/wombatwisdom/wombat/
RUN go mod download
COPY .. /go/src/github.com/wombatwisdom/wombat/
RUN go mod tidy

# Tag timetzdata required for busybox base image:
# https://github.com/benthosdev/benthos/issues/897
Expand Down

0 comments on commit e86dad7

Please sign in to comment.