File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,13 @@ jobs:
106
106
run : |
107
107
echo "base_image=$(cat ${{ steps.prepare_tags.outputs.dockerfile_path }} | head -n 1 | awk -F '=' '{print $2}' )" >> $GITHUB_OUTPUT
108
108
109
+ - name : Login to Docker Hub
110
+ uses : docker/login-action@v3
111
+ with :
112
+ registry : ghcr.io
113
+ username : ${{ secrets.DOCKER_MACHINE_USER }}
114
+ password : ${{ secrets.DOCKER_MACHINE_TOKEN }}
115
+
109
116
- name : Cache Docker images
110
117
uses : ScribeMD/docker-cache@0.5.0
111
118
with :
@@ -119,8 +126,6 @@ jobs:
119
126
platforms : ${{ matrix.platform }}
120
127
push : false
121
128
load : true
122
- cache-from : type=gha
123
- cache-to : type=gha,mode=max
124
129
tags : ${{ steps.prepare_tags.outputs.tags }}
125
130
build-args : |
126
131
BUILD_CONTEXT=${{ steps.prepare_tags.outputs.context_dir }}
Original file line number Diff line number Diff line change @@ -115,8 +115,6 @@ jobs:
115
115
file : ${{ steps.prepare_tags.outputs.dockerfile_path }}
116
116
platforms : linux/amd64,linux/arm64
117
117
push : true
118
- cache-from : type=gha
119
- cache-to : type=gha,mode=max
120
118
tags : ${{ steps.prepare_tags.outputs.tags }}
121
119
build-args : |
122
120
BUILD_CONTEXT=${{ steps.prepare_tags.outputs.context_dir }}
You can’t perform that action at this time.
0 commit comments