Skip to content

Commit 3fb6100

Browse files
committed
fix: add step output
1 parent 173bb4c commit 3fb6100

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

.github/workflows/deploy.yaml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ name: Deploy Pipeline
33
on:
44
push:
55
branches:
6-
- main
6+
# - main
7+
- initial-deployment
78
workflow_dispatch:
89

910
jobs:
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

0 commit comments

Comments
 (0)