Skip to content

Commit 10b0905

Browse files
authored
add cloak build workflow (#1240)
* add cloak build workflow * fix zizmor warnings
1 parent afbbad7 commit 10b0905

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/cloak.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Cloak Docker
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
docker:
8+
runs-on: ubuntu-latest
9+
permissions: {}
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
with:
15+
persist-credentials: false
16+
17+
- name: Log in to Docker Hub
18+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
19+
with:
20+
username: ${{ secrets.DOCKERHUB_USERNAME }}
21+
password: ${{ secrets.DOCKERHUB_TOKEN }}
22+
23+
- name: Extract commit digest
24+
id: vars
25+
run: echo "sha8=${GITHUB_SHA::8}" >> $GITHUB_OUTPUT
26+
27+
- name: Build and Push Docker image
28+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
29+
with:
30+
context: .
31+
platforms: linux/amd64
32+
push: true
33+
tags: scrolltech/cloak-l2geth:${{ steps.vars.outputs.sha8 }}

0 commit comments

Comments
 (0)