Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use workflow dispatch #52

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
Loading