Skip to content

Commit 681ce2a

Browse files
committed
publish images and add chagelog
1 parent b888642 commit 681ce2a

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/workflows/publish-image.yaml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish Docker image
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
push_to_registry:
9+
name: Push Docker image to Docker Hub
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out the repo
13+
uses: actions/checkout@v3
14+
15+
- name: Log in to Docker Hub
16+
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
17+
with:
18+
username: ${{ secrets.DOCKER_USERNAME }}
19+
password: ${{ secrets.DOCKER_PASSWORD }}
20+
21+
- name: Extract metadata (tags, labels) for Docker
22+
id: meta
23+
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
24+
with:
25+
images: tonkeeper/opentonapi
26+
27+
- name: Build and push Docker image
28+
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
29+
with:
30+
context: .
31+
file: ./Dockerfile
32+
push: true
33+
tags: ${{ steps.meta.outputs.tags }}
34+
labels: ${{ steps.meta.outputs.labels }}

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
### 2023-06-10
2+
- Add `raw_body` field to all messages struct (in transactions and traces). It contains hex-encoded BoC with message body. Optional field (message can have no body).

0 commit comments

Comments
 (0)