Skip to content

Commit 9cb0db7

Browse files
committed
Push branch snapshots to docker
1 parent 87a2acb commit 9cb0db7

File tree

4 files changed

+109
-1
lines changed

4 files changed

+109
-1
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Create custom computors consumer snapshot image
2+
3+
on:
4+
push:
5+
branches:
6+
- improve-elastic-error-logs
7+
8+
jobs:
9+
docker-publish:
10+
runs-on: ubuntu-latest
11+
12+
permissions:
13+
contents: read
14+
packages: write
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Docker Buildx
21+
uses: docker/setup-buildx-action@v3
22+
23+
- name: Log in to GitHub Container Registry
24+
uses: docker/login-action@v3
25+
with:
26+
registry: ghcr.io
27+
username: ${{ github.actor }}
28+
password: ${{ secrets.GITHUB_TOKEN }}
29+
30+
- name: Build and push Docker image
31+
uses: docker/build-push-action@v5
32+
with:
33+
context: ./computors-consumer
34+
file: ./computors-consumer/Dockerfile
35+
push: true
36+
tags: ghcr.io/qubic/computors-consumer:snapshot
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Create custom tick data consumer snapshot image
2+
3+
on:
4+
push:
5+
branches:
6+
- improve-elastic-error-logs
7+
8+
jobs:
9+
docker-publish:
10+
runs-on: ubuntu-latest
11+
12+
permissions:
13+
contents: read
14+
packages: write
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Docker Buildx
21+
uses: docker/setup-buildx-action@v3
22+
23+
- name: Log in to GitHub Container Registry
24+
uses: docker/login-action@v3
25+
with:
26+
registry: ghcr.io
27+
username: ${{ github.actor }}
28+
password: ${{ secrets.GITHUB_TOKEN }}
29+
30+
- name: Build and push Docker image
31+
uses: docker/build-push-action@v5
32+
with:
33+
context: ./tick-data-consumer
34+
file: ./tick-data-consumer/Dockerfile
35+
push: true
36+
tags: ghcr.io/qubic/tick-data-consumer:snapshot

.github/workflows/push-docker-tick-intervals-consumer-snapshot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Create custom tick intervals consumer snapshot image
33
on:
44
push:
55
branches:
6-
- feature/refresh-on-update
6+
- improve-elastic-error-logs
77

88
jobs:
99
docker-publish:
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Create custom transactions consumer snapshot image
2+
3+
on:
4+
push:
5+
branches:
6+
- improve-elastic-error-logs
7+
8+
jobs:
9+
docker-publish:
10+
runs-on: ubuntu-latest
11+
12+
permissions:
13+
contents: read
14+
packages: write
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Docker Buildx
21+
uses: docker/setup-buildx-action@v3
22+
23+
- name: Log in to GitHub Container Registry
24+
uses: docker/login-action@v3
25+
with:
26+
registry: ghcr.io
27+
username: ${{ github.actor }}
28+
password: ${{ secrets.GITHUB_TOKEN }}
29+
30+
- name: Build and push Docker image
31+
uses: docker/build-push-action@v5
32+
with:
33+
context: ./transactions-consumer
34+
file: ./transactions-consumer/Dockerfile
35+
push: true
36+
tags: ghcr.io/qubic/transactions-consumer:snapshot

0 commit comments

Comments
 (0)