-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (30 loc) · 1011 Bytes
/
release.yaml
File metadata and controls
35 lines (30 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Release
on:
release:
types: [published]
jobs:
push:
name: Push Docker
runs-on: ubuntu-latest
permissions:
id-token: write
attestations: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4.2.2
- name: Set Release Tag
run: echo "TAG=$(echo ${GITHUB_REF} | sed 's/refs\/tags\///')" >> $GITHUB_ENV
- uses: ./.github/actions/push
id: push
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
tags: "ghcr.io/${{ github.repository }}/immutable-geth:latest,ghcr.io/${{ github.repository }}/immutable-geth:${{ env.TAG }}"
platforms: linux/amd64,linux/arm64
- name: Attest
uses: actions/attest-build-provenance@v2
id: attest
with:
subject-name: ghcr.io/${{ github.repository }}/immutable-geth
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: false