Skip to content

Commit

Permalink
fix action.yaml for cr.jethome
Browse files Browse the repository at this point in the history
  • Loading branch information
adeepn committed Sep 25, 2024
1 parent c6d01e4 commit 8f5dbf5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/actions/build-image/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,32 @@ runs:
digest="${{ steps.build-ghcr.outputs.digest }}"
touch "/tmp/digests/${{ inputs.target }}/ghcr/${digest#sha256:}"
- name: Build and push to crjethome by digest
id: build-crjethome
uses: docker/[email protected]
env:
DOCKER_BUILD_SUMMARY: false
DOCKER_BUILD_RECORD_UPLOAD: false
with:
context: .
file: ./docker/Dockerfile
platforms: ${{ inputs.platform }}
target: ${{ inputs.target }}
cache-from: type=gha
cache-to: ${{ steps.cache-to.outputs.value }}
build-args: |
BASEIMGTYPE=${{ inputs.baseimg }}
BUILD_VERSION=${{ inputs.version }}
outputs: |
type=image,name=cr.jethome.work/${{ steps.tags.outputs.image_name }},push-by-digest=true,name-canonical=true,push=true
- name: Export crjethome digests
shell: bash
run: |
mkdir -p /tmp/digests/${{ inputs.target }}/crjethome
digest="${{ steps.build-ghcr.outputs.digest }}"
touch "/tmp/digests/${{ inputs.target }}/crjethome/${digest#sha256:}"
- name: Build and push to dockerhub by digest
if: 0
id: build-dockerhub
Expand Down

0 comments on commit 8f5dbf5

Please sign in to comment.