Skip to content

Commit

Permalink
Update release-alpine.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Jun 28, 2024
1 parent a6d2773 commit fad0d63
Showing 1 changed file with 43 additions and 4 deletions.
47 changes: 43 additions & 4 deletions .github/workflows/release-alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,46 @@ jobs:
run: ./heplify -h
shell: alpine.sh {0}

- run: |
pwd
ls -alF
ls -alF ${{ steps.alpine-root.outputs.root-path }}/heplify
- name: Upload
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: skx/github-action-publish-binaries@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: 'heplify'

docker-push:
if: ${{ github.event_name != 'workflow_dispatch' }}
runs-on: ubuntu-latest
needs: build
permissions:
packages: write
contents: read

steps:
- uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker meta
id: meta
uses: docker/[email protected]
with:
images: |
ghcr.io/${{ github.repository }}
tags: |
latest
${{ github.ref_name }}
- name: Build and push
uses: docker/[email protected]
with:
context: .
file: ./docker/heplify/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit fad0d63

Please sign in to comment.