Skip to content

Commit

Permalink
deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeantonio21 committed Jan 1, 2025
1 parent 6a787f9 commit f688667
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,26 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
- name: Build and push TDX-enabled Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
build-args:
ENABLE_TDX=true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.event.release.tag_name }}
- name: Build and push default Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64, linux/arm64
build-args:
ENABLE_TDX: "false"
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:default
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.event.release.tag_name }}-default

0 comments on commit f688667

Please sign in to comment.