Skip to content

Commit

Permalink
Merge pull request #1383 from kaytu-io/fix-steampipe-upgrade
Browse files Browse the repository at this point in the history
fix: fix steampipe kaytu plugin build and push steps
  • Loading branch information
artaasadi authored Jul 31, 2024
2 parents c882d6e + 6f3c9b9 commit 2f9dad8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1333,13 +1333,16 @@ jobs:
echo "do_build=true" >> $GITHUB_OUTPUT
fi
- name: Checkout code
if: steps.check_if_push.outputs.do_build == 'true'
uses: actions/checkout@v3
- name: Download artifact
if: steps.check_if_push.outputs.do_build == 'true'
uses: actions/download-artifact@v3
with:
name: build
path: .
- name: Unpack artifact
if: steps.check_if_push.outputs.do_build == 'true'
run: |
tar -xvf build.tar.gz
- name: Configure AWS credentials
Expand All @@ -1354,6 +1357,7 @@ jobs:
with:
registry: ${{ vars.AWS_DOCKER_REGISTRY }}
- name: Build and push Docker images
if: steps.check_if_push.outputs.do_build == 'true'
uses: docker/build-push-action@v4
with:
push: true
Expand All @@ -1363,12 +1367,14 @@ jobs:
file: docker/SteampipePluginKaytuDockerfile
context: .
- name: Azure Docker Login
if: steps.check_if_push.outputs.do_build == 'true'
uses: azure/docker-login@v1
with:
login-server: ${{ vars.AZURE_DOCKER_REGISTRY }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build and Push to ACR
if: steps.check_if_push.outputs.do_build == 'true'
uses: docker/build-push-action@v2
with:
push: true
Expand Down

0 comments on commit 2f9dad8

Please sign in to comment.