File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed
Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,15 @@ name: Deploy Pipeline
33on :
44 push :
55 branches :
6- - main
6+ # - main
7+ - initial-deployment
78 workflow_dispatch :
89
910jobs :
1011 build-osm-tagger :
1112 runs-on : ubuntu-latest
13+ outputs :
14+ image_tag : ${{ steps.meta.outputs.tags }}
1215 steps :
1316 - name : Delete huge unnecessary tools folder
1417 run : rm -rf /opt/hostedtoolcache
@@ -36,16 +39,16 @@ jobs:
3639 type=ref,event=branch
3740 type=ref,event=tag
3841
39- - name : Build and push
40- uses : docker/build-push-action@v5
41- with :
42- context : .
43- file : dockerfiles/app.dockerfile
44- push : ${{ github.ref == 'refs/heads/main' }}
45- tags : ${{ steps.meta.outputs.tags }}
46- labels : ${{ steps.meta.outputs.labels }}
47- cache-from : type=gha
48- cache-to : type=gha,mode=max
42+ # - name: Build and push
43+ # uses: docker/build-push-action@v5
44+ # with:
45+ # context: .
46+ # file: dockerfiles/app.dockerfile
47+ # push: ${{ github.ref == 'refs/heads/main' }}
48+ # tags: ${{ steps.meta.outputs.tags }}
49+ # labels: ${{ steps.meta.outputs.labels }}
50+ # cache-from: type=gha
51+ # cache-to: type=gha,mode=max
4952
5053 - name : Output image tag
5154 id : image_tag
You can’t perform that action at this time.
0 commit comments