Skip to content

Commit 840dc6c

Browse files
committed
Merge remote-tracking branch 'origin/staging' into feat/monero-uri
2 parents ef09cb2 + 665e21c commit 840dc6c

215 files changed

Lines changed: 37617 additions & 9841 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Build CI image
2+
3+
on:
4+
push:
5+
branches: [main, staging]
6+
paths:
7+
- 'Dockerfile'
8+
- '.github/workflows/build-ci-image.yaml'
9+
workflow_dispatch:
10+
11+
env:
12+
GHCR_IMAGE: ghcr.io/${{ github.repository_owner }}/stackwallet-ci
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-24.04
17+
permissions:
18+
contents: read
19+
packages: write
20+
steps:
21+
- uses: actions/checkout@v6
22+
23+
- uses: docker/setup-buildx-action@v4
24+
25+
- uses: docker/login-action@v4
26+
with:
27+
registry: ghcr.io
28+
username: ${{ github.actor }}
29+
password: ${{ secrets.GITHUB_TOKEN }}
30+
31+
- name: Build and push full image
32+
uses: docker/build-push-action@v7
33+
with:
34+
context: .
35+
target: full
36+
push: true
37+
tags: |
38+
${{ env.GHCR_IMAGE }}:latest
39+
${{ env.GHCR_IMAGE }}:${{ github.sha }}
40+
cache-from: type=gha
41+
cache-to: type=gha,mode=max
42+
43+
- name: Build and push test image
44+
uses: docker/build-push-action@v7
45+
with:
46+
context: .
47+
target: test
48+
push: true
49+
tags: ${{ env.GHCR_IMAGE }}:test
50+
cache-from: type=gha
51+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)