1212
1313env :
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
1818jobs :
1919 build-and-push :
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
0 commit comments