Skip to content

Commit c0855cb

Browse files
committed
fix: deploy-env
1 parent a79112d commit c0855cb

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/workflows/_build.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ jobs:
5050
push: true
5151
builder: ${{ steps.buildx.outputs.name }}
5252
tags: ${{ steps.login-ecr.outputs.registry }}/${{ secrets.aws-ecr-repo-name }}:${{ inputs.deploy-env }}-${{ inputs.image-tags }}
53-
5453
file: ./etl/Dockerfile.extract
5554
context: ./
5655
cache-from: type=gha

.github/workflows/etl_release.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,26 @@ jobs:
88
test:
99
uses: ./.github/workflows/test.yml
1010

11-
release:
12-
uses: ./.github/workflows/_release.yaml
13-
needs:
14-
- test
11+
# release:
12+
# uses: ./.github/workflows/_release.yaml
13+
# needs:
14+
# - test
1515

1616
create-deploy-env:
1717
runs-on: ubuntu-latest
18-
needs:
19-
- release
18+
# needs:
19+
# - release
2020
outputs:
2121
deploy-env: ${{ steps.output-deploy-env.outputs.deploy-env }}
2222

2323
steps:
2424
- uses: actions/checkout@v3
2525

26+
- name: Set env to dev
27+
id: set-env-dev
28+
run: |
29+
echo "DEPLOY_ENV=dev" >> $GITHUB_ENV
30+
2631
- name: Set env to staging
2732
id: set-env-staging
2833
if: endsWith(github.ref, 'heads/main')
@@ -42,7 +47,6 @@ jobs:
4247
4348
build:
4449
needs:
45-
- release
4650
- create-deploy-env
4751
uses: ./.github/workflows/_build.yaml
4852
with:

0 commit comments

Comments
 (0)