Skip to content

Commit

Permalink
Merge pull request #4 from truefoundry/update-workflow
Browse files Browse the repository at this point in the history
update build workflow to use reuseable workflow
  • Loading branch information
DeeAjayi authored Nov 5, 2024
2 parents 30aa51b + d8fe388 commit 80ca691
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 47 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build-n-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build and Push Image to JFrog Artifactory

on:
push:
branches:
- 'main'

permissions:
id-token: write
contents: read

jobs:
build:
name: Build, Scan and Release NUI Image
uses: truefoundry/workflows/.github/workflows/[email protected]
with:
image_tag: ${{ github.sha }}
image_artifact_name: ${{ github.event.repository.name }}
artifactory_registry_url: ${{ vars.TRUEFOUNDRY_ARTIFACTORY_REGISTRY_URL }}
artifactory_repository_url: ${{ vars.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_REPOSITORY }}
secrets:
artifactory_username: ${{ secrets.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_USERNAME }}
artifactory_password: ${{ secrets.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_PASSWORD }}
47 changes: 0 additions & 47 deletions .github/workflows/public-ecr-image.yml

This file was deleted.

0 comments on commit 80ca691

Please sign in to comment.