Skip to content

Commit

Permalink
use dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
avalonche committed Aug 27, 2024
1 parent 63ef523 commit 5263d1e
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/release-flashbots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,19 @@ jobs:
password: ${{ secrets.FLASHBOTS_DOCKERHUB_TOKEN }}

- name: Build and push
env:
GIT_COMMIT: ${{ github.sha }}
GIT_DATE: ${{ github.event.head_commit.timestamp }}
IMAGE_TAGS: ${{ github.sha }},latest,${{ steps.meta.outputs.tags }}
DOCKER_LABELS: ${{ steps.meta.outputs.labels }}
VERSION: ${{ env.RELEASE_VERSION }}
run: |
docker buildx bake \
--progress plain \
--push \
-f docker-bake.hcl \
op-node
uses: docker/build-push-action@v3
with:
context: .
file: ops/docker/op-stack-go/Dockerfile
push: true
target: op-node-target
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
GIT_COMMIT=${{ github.sha }}
GIT_DATE=${{ github.event.head_commit.timestamp }}
OP_NODE_VERSION=${{ env.RELEASE_VERSION }}
github-release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5263d1e

Please sign in to comment.