Diff
1diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
2index a1322d778875b32aea7133a5e59dab1f15b28a65..40948eabd41cb5ac7e038af8809ddde8f85ff8c8 100644
3--- a/.github/workflows/ci.yaml
4+++ b/.github/workflows/ci.yaml
5@@ -53,6 +53,8 @@ jobs:
6 push: true
7 tags: theedgeofrage/ytrssil:api
8 target: api
9+ cache-from: type=gha
10+ cache-to: type=gha,mode=max
11
12 - name: Build and push migrations image
13 uses: docker/build-push-action@v6
14@@ -60,3 +62,5 @@ jobs:
15 push: true
16 tags: theedgeofrage/ytrssil:migrations
17 target: migrations
18+ cache-from: type=gha
19+ cache-to: type=gha,mode=max
20diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml
21deleted file mode 100644
22index b4351943a55b3f49526265257709434646b44d92..0000000000000000000000000000000000000000
23--- a/.github/workflows/docker-publish.yaml
24+++ /dev/null
25@@ -1,43 +0,0 @@
26----
27-name: Docker build
28-
29-'on':
30- push:
31- branches:
32- - main
33-
34-jobs:
35- build:
36- name: build
37- runs-on: ubuntu-latest
38- timeout-minutes: 10
39- steps:
40- - name: Checkout
41- uses: actions/checkout@v6
42-
43- - name: Set up Docker Buildx
44- uses: docker/setup-buildx-action@v3
45-
46- - name: Login to Docker Hub
47- uses: docker/login-action@v3
48- with:
49- username: ${{ secrets.DOCKER_USERNAME }}
50- password: ${{ secrets.DOCKER_PASSWORD }}
51-
52- - name: Build and push API image
53- uses: docker/build-push-action@v6
54- with:
55- push: true
56- tags: theedgeofrage/ytrssil:api
57- target: api
58- cache-from: type=gha
59- cache-to: type=gha,mode=max
60-
61- - name: Build and push migrations image
62- uses: docker/build-push-action@v6
63- with:
64- push: true
65- tags: theedgeofrage/ytrssil:migrations
66- target: migrations
67- cache-from: type=gha
68- cache-to: type=gha,mode=max