Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NilashishC authored May 8, 2024
1 parent f915f76 commit f560a93
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/actions/build-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,22 +67,3 @@ runs:
file: ${{ github.workspace }}/Containerfile
tags: ${{ steps.meta.outputs.tags }}
push: true

- name: Push the built image to ghcr.io
id: push-final
if: ${{ inputs.publish == 'true' }}
uses: docker/build-push-action@v5
with:
context: ${{ github.workspace }}/context
provenance: false
file: ${{ github.workspace }}/Containerfile
tags: |
ghcr.io/${{ inputs.namespace }}/${{ inputs.final_image }}:${{ env.IMAGE_TAG }}
push: true

# this step is ONLY needed for maintainence of self hosted runners
- name: Cleanup docker
shell: bash
if: always()
run: |
docker system prune -af --volumes

0 comments on commit f560a93

Please sign in to comment.