Skip to content
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
33 changes: 33 additions & 0 deletions .github/workflows/cloak.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Cloak Docker

on:
workflow_dispatch:

jobs:
docker:
runs-on: ubuntu-latest
permissions: {}

steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Log in to Docker Hub
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Extract commit digest
id: vars
run: echo "sha8=${GITHUB_SHA::8}" >> $GITHUB_OUTPUT

- name: Build and Push Docker image
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: .
platforms: linux/amd64
push: true
tags: scrolltech/cloak-l2geth:${{ steps.vars.outputs.sha8 }}
Loading