File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -147,10 +147,15 @@ jobs:
147
147
env :
148
148
CONTAINER_IMAGE : " ghcr.io/${{ github.repository }}"
149
149
steps :
150
+ - uses : actions/checkout@v4
151
+ with :
152
+ token : ${{ secrets.ACTIONS_ACCESS_TOKEN }}
153
+ ref : ${{ inputs.tag }}
154
+
150
155
- name : downcase CONTAINER_IMAGE
151
156
run : |
152
157
echo "CONTAINER_IMAGE=${CONTAINER_IMAGE,,}" >> ${GITHUB_ENV}
153
-
158
+
154
159
- name : Set up Docker Buildx
155
160
uses : docker/setup-buildx-action@v3
156
161
@@ -164,6 +169,8 @@ jobs:
164
169
- name : Build and push
165
170
uses : docker/build-push-action@v5
166
171
with :
172
+ context : .
173
+ file : ./libs/labelbox/Dockerfile
167
174
github-token : ${{ secrets.GITHUB_TOKEN }}
168
175
push : true
169
176
Original file line number Diff line number Diff line change @@ -82,10 +82,15 @@ jobs:
82
82
env :
83
83
CONTAINER_IMAGE : " ghcr.io/${{ github.repository }}"
84
84
steps :
85
+ - uses : actions/checkout@v4
86
+ with :
87
+ token : ${{ secrets.ACTIONS_ACCESS_TOKEN }}
88
+ ref : ${{ github.head_ref }}
89
+
85
90
- name : downcase CONTAINER_IMAGE
86
91
run : |
87
92
echo "CONTAINER_IMAGE=${CONTAINER_IMAGE,,}" >> ${GITHUB_ENV}
88
-
93
+
89
94
- name : Set up Docker Buildx
90
95
uses : docker/setup-buildx-action@v3
91
96
@@ -100,6 +105,8 @@ jobs:
100
105
if : github.event_name == 'push'
101
106
uses : docker/build-push-action@v5
102
107
with :
108
+ context : .
109
+ file : ./libs/labelbox/Dockerfile
103
110
github-token : ${{ secrets.GITHUB_TOKEN }}
104
111
push : true
105
112
@@ -115,6 +122,8 @@ jobs:
115
122
if : github.event_name == 'pull_request'
116
123
uses : docker/build-push-action@v5
117
124
with :
125
+ context : .
126
+ file : ./libs/labelbox/Dockerfile
118
127
github-token : ${{ secrets.GITHUB_TOKEN }}
119
128
push : true
120
129
File renamed without changes.
You can’t perform that action at this time.
0 commit comments