1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Renaming nightly tag to edge #708

This commit is contained in:
Patrik J. Braun 2023-09-02 15:07:43 +02:00
parent f315e3d0a0
commit 57b288feb6
4 changed files with 14 additions and 7 deletions

View File

@ -132,16 +132,18 @@ jobs:
platforms: ${{ matrix.platforms }}
push: true
tags: bpatrik/pigallery2:experimental-${{ matrix.container }}
- name: Push nightly on new master commit
- name: Push edge on new master commit
# github.ref: branches the format is refs/heads/<branch_name> PRs and Tags are different
if: ${{github.ref == 'refs/heads/master' }}
if: ${{github.ref == 'refs/heads/master' }}
uses: docker/build-push-action@v3
with:
context: .
file: docker/${{ matrix.container }}/Dockerfile.build
platforms: ${{ matrix.platforms }}
push: true
tags: bpatrik/pigallery2:nightly-${{ matrix.container }}
tags: |
bpatrik/pigallery2:edge-${{ matrix.container }}
bpatrik/pigallery2:nightly-${{ matrix.container }}
- name: Push release on new Tag
if: ${{ startsWith(github.ref_type , 'tag') && !github.event.issue.pull_request && matrix.container != 'debian-bullseye'}}
uses: docker/build-push-action@v3
@ -151,7 +153,7 @@ jobs:
platforms: ${{ matrix.platforms }}
push: true
tags: |
bpatrik/pigallery2:nightly-${{ matrix.container }}
bpatrik/pigallery2:edge-${{ matrix.container }}
bpatrik/pigallery2:${{ github.ref_name }}-${{ matrix.container }}
bpatrik/pigallery2:latest-${{ matrix.container }}
- name: Push latest on new Tag
@ -163,7 +165,7 @@ jobs:
platforms: ${{ matrix.platforms }}
push: true
tags: |
bpatrik/pigallery2:nightly-${{ matrix.container }}
bpatrik/pigallery2:edge-${{ matrix.container }}
bpatrik/pigallery2:${{ github.ref_name }}-${{ matrix.container }}
bpatrik/pigallery2:latest-${{ matrix.container }}
bpatrik/pigallery2:${{ github.ref_name }}

View File

@ -4,7 +4,8 @@ You can use [docker](https://docs.docker.com/install/) to run PiGallery2. See al
available tags:
- `v*` (stable): built from the release with the same version name.
- `latest` (stable): same as the latest `v*`, built with debian buster
- `nightly` : built from the current state of `master`. This might break from time to time.
- `edge` : built from the current state of `master`. This might break from time to time.
- `nightly` : Deprecated. Rename to `edge`. See #708.
**Note**: Some changes may require database reset or config changes, see [#317](https://github.com/bpatrik/pigallery2/issues/317) (If you want to reduce the frequency of those, use stable builds (`latest`)

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "pigallery2",
"version": "1.9.6-nightly",
"version": "1.9.6-edge",
"lockfileVersion": 2,
"requires": true,
"packages": {

View File

@ -1,4 +1,8 @@
<ngx-loading-bar [includeSpinner]="false" color="#337ab7" height="3px"></ngx-loading-bar>
<div class="alert alert-danger" role="alert">
You are using the :nightly docker tag. nightly is renamed to :edge and discontinued.
<a href="https://github.com/bpatrik/pigallery2/issues/708">See #708</a>.
</div>
<div #navContainer class="navbar-container auto-hide-navbar"
[class.navbar-keep-top]="navbarKeepTop || fixNavbarOnTop"
[class.hide-navbar]="!navbarKeepTop && shouldHideNavbar"