-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (33 loc) · 1.18 KB
/
docker-release.yml
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
36
37
38
39
name: Release Instant Seal Node With Deployed Schemas Docker Image
on:
push:
tags: [ docker/* ]
jobs:
docker-release:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Get the tag name
run: |
echo ${GITHUB_REF##*/}
echo "TAG=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Build and push dsnp/instant-seal-node-with-deployed-schemas
id: docker_build_instant_seal_node_with_deployed_schemas
uses: docker/build-push-action@v5
with:
push: true
file: Dockerfile
tags: |
dsnp/instant-seal-node-with-deployed-schemas:${{ env.TAG }}
# dsnp/instant-seal-node-with-deployed-schemas:latest
- name: Image digests
run: |
echo dsnp/instant-seal-node-with-deployed-schemas ${{ steps.docker_build_instant_seal_node_with_deployed_schemas.outputs.digest }}