Skip to content

Commit

Permalink
tweak CI
Browse files Browse the repository at this point in the history
  • Loading branch information
adolsalamanca committed Jan 25, 2024
1 parent 1959f31 commit 93b5c86
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/publish-ecr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,17 @@ name: Publish to ECR
on:
push:
tags: ['*']
branches-ignore:
- timescale # This is how our main branch is called.

env:
ALL_OS: ${{ vars.ALL_OS }}
ALL_ARCH_linux: ${{ vars.ALL_ARCH_LINUX }}

jobs:
ecr-private:
name: Push to ECR Private
runs-on: ubuntu-latest
runs-on: non-prod
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -42,8 +49,9 @@ jobs:
run: make -j `nproc` all-push

ecr-public:
if: ${{ vars.SKIP_ECR_PUBLIC != 'true' }}
name: Push to ECR Public
runs-on: ubuntu-latest
runs-on: non-prod
environment: ecr-public
needs: ecr-private

Expand Down

0 comments on commit 93b5c86

Please sign in to comment.