Skip to content

Commit

Permalink
push on release (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
antdanchenko authored Mar 18, 2024
1 parent 24e4f46 commit 95b9937
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ name: Build and Push Docker

on:
push:
branches:
- zkevm
tags:
- 'v*'
release:
types: [published]

workflow_dispatch:

env:
Expand Down Expand Up @@ -37,7 +40,6 @@ jobs:
file: Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.IMAGE_NAME }}:${{ github.sha }}

- name: Verify Image
run: docker run --rm ${{ env.IMAGE_NAME }}:${{ github.sha }} --version
tags: |
${{ env.IMAGE_NAME }}:${{ github.sha }}
${{ env.IMAGE_NAME }}:${{ github.event.release.tag_name }}

0 comments on commit 95b9937

Please sign in to comment.