Skip to content

Commit

Permalink
Move latest to traditional latest release and introduce nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
tmknight committed Jan 28, 2025
1 parent 8730cbb commit 1403cdb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ jobs:
images: ${{ env.IMAGES }}
tags: |
type=ref,event=tag
type=raw,enable=${{ github.event_name == 'schedule' || (github.event_name == 'release' && github.event.action == 'published' && !github.event.release.prerelease) }},value=latest
type=raw,enable=${{ github.event_name == 'release' && github.event.action == 'published' && !github.event.release.prerelease }},value=latest
type=raw,enable=${{ github.event_name == 'schedule' }},value=nightly
type=ref,event=branch,enable=${{ github.event_name == 'workflow_dispatch' }}
# Build and push Docker image with Buildx (don't push on PR)
Expand All @@ -103,7 +104,7 @@ jobs:
file: ${{ env.IMAGE }}.dockerfile
build-args: |
${{ env.BUILD_ARGS }}
NORDVPN_VERSION=${{ vars.NORDVPN_VERSION == 'false' && needs.nordvpn-version.outputs.pkg-version || vars.NORDVPN_VERSION }}
NORDVPN_VERSION=${{ (github.event_name == 'release' && vars.NORDVPN_VERSION == 'false' && needs.nordvpn-version.outputs.pkg-version) || (github.event_name == 'schedule' && needs.nordvpn-version.outputs.pkg-version) || vars.NORDVPN_VERSION }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ Leveraging the latest native NordVPN client, iptables and the Nord API to create

Build based on:

- NordVPN `latest`
- Automatically updated from the [NordVPN repository](https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/)
- Ubuntu `latest LTS`
- Updated nightly
- Latest
- NordVPN `3.19.2`
- Automatically updated from the [NordVPN repository](https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/)
- Ubuntu `latest LTS`
- Nightly
- NordVPN `latest`
- Automatically updated from the [NordVPN repository](https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/)
- Ubuntu `latest LTS`
- Updated nightly

Examples of use:

Expand Down

0 comments on commit 1403cdb

Please sign in to comment.