Skip to content

Commit

Permalink
fix workflow to run on realese
Browse files Browse the repository at this point in the history
  • Loading branch information
tubleronchik committed May 23, 2024
1 parent 9671ff9 commit 0742844
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ env:
CONTAINER_NAME: libp2p-ws-proxy

on:
push:
branches:
- main
release:
types: [released]

jobs:
publish:
Expand Down Expand Up @@ -35,7 +34,9 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/pinoutltd/${{ env.CONTAINER_NAME }}:latest
tags: |
ghcr.io/pinoutltd/${{ env.CONTAINER_NAME }}:${{ github.event.release.tag_name }}
ghcr.io/pinoutltd/${{ env.CONTAINER_NAME }}:latest
Expand Down

0 comments on commit 0742844

Please sign in to comment.