Skip to content

Commit fecadca

Browse files
authored
Merge pull request #3 from usherlabs/feat/new-airbyte
feat: docker build caches and streamr bump
2 parents 500e70a + 2023859 commit fecadca

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

.github/workflows/docker-build-publish.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ on:
1212

1313
env:
1414
REGISTRY: ghcr.io
15-
GAS_STATION_IMAGE_NAME: ${{ github.repository }}/gas-station
16-
STREAMR_DEST_IMAGE_NAME: ${{ github.repository }}/streamr-destination
15+
GAS_STATION_IMAGE_NAME: ${{ github.repository }}/airbyte-gas-station
16+
STREAMR_DEST_IMAGE_NAME: ${{ github.repository }}/airbyte-streamr-destination
1717

1818
jobs:
1919
build-and-push:
@@ -26,6 +26,11 @@ jobs:
2626
- name: Checkout repository
2727
uses: actions/checkout@v4
2828

29+
- name: Set up Docker Buildx
30+
uses: docker/setup-buildx-action@v3
31+
with:
32+
platforms: linux/amd64
33+
2934
- name: Log in to the Container registry
3035
uses: docker/login-action@v3
3136
with:
@@ -61,18 +66,20 @@ jobs:
6166
uses: docker/build-push-action@v5
6267
with:
6368
context: .
64-
build-args: |
65-
path=sources/gas-station
6669
push: true
70+
build-args: path=sources/gas-station
6771
tags: ${{ steps.meta-gas.outputs.tags }}
6872
labels: ${{ steps.meta-gas.outputs.labels }}
73+
cache-from: type=gha,scope=gas-station
74+
cache-to: type=gha,mode=max,scope=gas-station
6975

7076
- name: Build and push Streamr Destination image
7177
uses: docker/build-push-action@v5
7278
with:
7379
context: .
74-
build-args: |
75-
path=destinations/streamr
7680
push: true
81+
build-args: path=destinations/streamr-destination
7782
tags: ${{ steps.meta-streamr.outputs.tags }}
78-
labels: ${{ steps.meta-streamr.outputs.labels }}
83+
labels: ${{ steps.meta-streamr.outputs.labels }}
84+
cache-from: type=gha,scope=streamr-destination
85+
cache-to: type=gha,mode=max,scope=streamr-destination

destinations/streamr-destination/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"main": "./lib.js",
2525
"dependencies": {
26-
"@streamr/sdk": "^100.1.2",
26+
"@streamr/sdk": "^101.1.2",
2727
"commander": "^11.1.0",
2828
"faros-feeds-sdk": "^0.9.0",
2929
"git-url-parse": "^11.6.0",

0 commit comments

Comments
 (0)