Skip to content

Commit

Permalink
workflows: update build_and_push with Nick's latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vrmiguel committed Jan 26, 2024
1 parent d70477c commit e440c1b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/build_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:

build_and_push:
name: Build and push images
permissions:
id-token: write
contents: read
runs-on:
- self-hosted
- dind
Expand All @@ -63,12 +66,6 @@ jobs:
id: versions
run: |
echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Check out the tembo repo to reuse some actions
uses: actions/checkout@v3
with:
repository: tembo-io/tembo
path: ./tembo
ref: 737713f5839bcd3f533644fe316540d890c611a8
- name: Determine which tags to publish
id: tags
run: |
Expand All @@ -84,7 +81,7 @@ jobs:
echo "tag_cargo=false" >> $GITHUB_OUTPUT
fi
- name: Build and upload image
uses: ./tembo/.github/actions/build-and-push-to-quay
uses: ./.github/actions/build-and-push-to-quay
with:
image_name: ${{ matrix.name }}
docker_directory: ${{ matrix.path }}
Expand All @@ -95,7 +92,9 @@ jobs:
quay_user: ${{ secrets.QUAY_USER_TEMBO }}
quay_password: ${{ secrets.QUAY_PASSWORD_TEMBO }}
quay_user_tembo: ${{ secrets.QUAY_USER_TEMBO }}
quay_password_tembo: ${{ secrets.QUAY_PASSWORD_TEMBO }}
quay_password_tembo: ${{ secrets.QUAY_PASSWORD_TEMBO }}
gha_iam_role: ${{ secrets.GHA_IAM_ROLE }}
ecr_registry: ${{ secrets.ECR_REGISTRY }}

build_and_push_pg_slim:
name: Build and push tembo-pg-slim
Expand Down

0 comments on commit e440c1b

Please sign in to comment.