File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Sequencer Migration Docker
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+ release :
8+ types : [published]
9+
10+ jobs :
11+ build-and-push :
12+ runs-on :
13+ group : scroll-reth-runner-group
14+ permissions : {}
15+
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v5
19+ with :
20+ persist-credentials : false
21+
22+ - name : Extract docker metadata
23+ id : meta
24+ uses : docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
25+ with :
26+ images : scrolltech/sequencer-migration
27+ tags : |
28+ type=ref,event=tag,enable=${{ github.event_name == 'push' }}
29+ type=raw,value=latest,enable=${{ github.event_name == 'release' }}
30+ flavor : |
31+ latest=false
32+
33+ - name : Login to Docker Hub
34+ uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
35+ with :
36+ username : ${{ secrets.DOCKERHUB_USERNAME }}
37+ password : ${{ secrets.DOCKERHUB_TOKEN }}
38+
39+ - name : Build and push Docker image
40+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
41+ with :
42+ context : sequencer-migration
43+ file : sequencer-migration/Dockerfile
44+ push : true
45+ tags : ${{ steps.meta.outputs.tags }}
46+ labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments