Skip to content

Commit b1ce43f

Browse files
authored
Merge pull request #20 from wayofdev/fix/docker-builds
2 parents cc735c8 + 9b554ab commit b1ce43f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ on: # yamllint disable-line rule:truthy
2020

2121
jobs:
2222
build:
23-
name: Build
2423
runs-on: ubuntu-latest
2524
strategy:
2625
fail-fast: false
@@ -85,19 +84,21 @@ jobs:
8584
context: ./dist/dev/${{ env.TEMPLATE }}
8685
load: true
8786
tags: ${{ steps.meta.outputs.tags }}
88-
cache-from: type=registry,ref=${{ env.IMAGE_TAG }}
89-
cache-to: type=inline
87+
# cache-from: type=registry,ref=${{ env.IMAGE_TAG }}
88+
# cache-to: type=inline
9089
labels: ${{ steps.meta.outputs.labels }}
9190

9291
- name: Test Docker Release Image
9392
if: success() && startsWith(github.ref, 'refs/tags/')
9493
run: |
9594
IMAGE_TAG=${{ env.IMAGE_NAMESPACE }}:${{ env.TEMPLATE }}-${{ env.VERSION }} make test
95+
echo "IMAGE_TAG=${IMAGE_TAG}" >> $GITHUB_ENV
9696
9797
- name: Test Docker Master Image
9898
if: success() && ! startsWith(github.ref, 'refs/tags/')
9999
run: |
100100
IMAGE_TAG=${{ env.IMAGE_NAMESPACE }}:${{ env.TEMPLATE }}-latest make test
101+
echo "IMAGE_TAG=${IMAGE_TAG}" >> $GITHUB_ENV
101102
102103
- name: Push Docker Image
103104
uses: docker/build-push-action@v3
@@ -107,7 +108,7 @@ jobs:
107108
platforms: linux/amd64,linux/arm64
108109
push: ${{ github.event_name != 'pull_request' }}
109110
tags: ${{ steps.meta.outputs.tags }}
110-
cache-from: type=registry,ref=${{ env.IMAGE_TAG }}
111-
cache-to: type=inline
111+
# cache-from: type=registry,ref=${{ env.IMAGE_TAG }}
112+
# cache-to: type=inline
112113

113114
...

0 commit comments

Comments
 (0)