Skip to content

Commit

Permalink
add build and push step
Browse files Browse the repository at this point in the history
  • Loading branch information
dspashynskyi authored Oct 10, 2024
1 parent 787fb5e commit a0c01c7
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/upload_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@ jobs:
workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GCP_SA_EMAIL }}

# - name: Login to GitHub Container Registry
# uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
# with:
# registry: ghcr.io
#
- name: Build and push
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
with:
context: .
push: true
tags: |
${{ secrets.DOCKER_REGISTRY_PREFIX }}/${{ github.repository }}:${{ github.ref_name }}
labels: |
maintainer=AI DIAL

0 comments on commit a0c01c7

Please sign in to comment.