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:
147147 env :
148148 CONTAINER_IMAGE : " ghcr.io/${{ github.repository }}"
149149 steps :
150+ - uses : actions/checkout@v4
151+ with :
152+ token : ${{ secrets.ACTIONS_ACCESS_TOKEN }}
153+ ref : ${{ inputs.tag }}
154+
150155 - name : downcase CONTAINER_IMAGE
151156 run : |
152157 echo "CONTAINER_IMAGE=${CONTAINER_IMAGE,,}" >> ${GITHUB_ENV}
153-
158+
154159 - name : Set up Docker Buildx
155160 uses : docker/setup-buildx-action@v3
156161
@@ -164,6 +169,8 @@ jobs:
164169 - name : Build and push
165170 uses : docker/build-push-action@v5
166171 with :
172+ context : .
173+ file : ./libs/labelbox/Dockerfile
167174 github-token : ${{ secrets.GITHUB_TOKEN }}
168175 push : true
169176
Original file line number Diff line number Diff line change @@ -82,10 +82,15 @@ jobs:
8282 env :
8383 CONTAINER_IMAGE : " ghcr.io/${{ github.repository }}"
8484 steps :
85+ - uses : actions/checkout@v4
86+ with :
87+ token : ${{ secrets.ACTIONS_ACCESS_TOKEN }}
88+ ref : ${{ github.head_ref }}
89+
8590 - name : downcase CONTAINER_IMAGE
8691 run : |
8792 echo "CONTAINER_IMAGE=${CONTAINER_IMAGE,,}" >> ${GITHUB_ENV}
88-
93+
8994 - name : Set up Docker Buildx
9095 uses : docker/setup-buildx-action@v3
9196
@@ -100,6 +105,8 @@ jobs:
100105 if : github.event_name == 'push'
101106 uses : docker/build-push-action@v5
102107 with :
108+ context : .
109+ file : ./libs/labelbox/Dockerfile
103110 github-token : ${{ secrets.GITHUB_TOKEN }}
104111 push : true
105112
@@ -115,6 +122,8 @@ jobs:
115122 if : github.event_name == 'pull_request'
116123 uses : docker/build-push-action@v5
117124 with :
125+ context : .
126+ file : ./libs/labelbox/Dockerfile
118127 github-token : ${{ secrets.GITHUB_TOKEN }}
119128 push : true
120129
File renamed without changes.
You can’t perform that action at this time.
0 commit comments