Skip to content

Commit

Permalink
try to build docker simpler from ubuntu to alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Dec 8, 2023
1 parent e1f4636 commit 0548197
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 28 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,7 @@ jobs:
packages: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.20.x

- uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build Binary
run: make geth
- uses: actions/checkout@v3

- name: Log in to the Container registry
uses: docker/login-action@v2
Expand All @@ -65,8 +47,8 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: ./build/bin
file: ./Dockerfile.fh
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
# org.opencontainers.image.version will match the tag name
Expand Down
7 changes: 0 additions & 7 deletions Dockerfile.fh

This file was deleted.

0 comments on commit 0548197

Please sign in to comment.