Skip to content

Commit

Permalink
ci: use workflow dispatch (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaizet-ledger authored Oct 11, 2024
1 parent e14c751 commit f1454a1
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Build and publish scroll-alpine image
# This workflow aims to build images from the feat-deterministic-deployment branch

on:
push:
tags:
- 'v*.*.*'
workflow_dispatch:

jobs:
build:
name: Clone, Build, Publish
Expand Down Expand Up @@ -41,7 +41,6 @@ jobs:
- name: Build deploy image
id: build_deploy_image
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
REPOSITORY: scrolltech/scroll-stack-contracts
uses: docker/build-push-action@v3
with:
Expand All @@ -50,13 +49,11 @@ jobs:
context: .
file: docker/Dockerfile.deploy
tags: |
${{ env.REPOSITORY }}:deploy-${{ github.ref_name }}
${{ env.REPOSITORY }}:latest
${{ env.REPOSITORY }}:deploy-${{ github.sha }}
- name: Build gen image
id: build_gen_image
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
REPOSITORY: scrolltech/scroll-stack-contracts
uses: docker/build-push-action@v3
with:
Expand All @@ -65,5 +62,4 @@ jobs:
context: .
file: docker/Dockerfile.gen-configs
tags: |
${{ env.REPOSITORY }}:gen-configs-${{ github.ref_name }}
${{ env.REPOSITORY }}:latest
${{ env.REPOSITORY }}:gen-configs-${{ github.sha }}

0 comments on commit f1454a1

Please sign in to comment.