mirror of
https://github.com/koush/scrypted.git
synced 2026-02-10 17:22:03 +00:00
github: tags
This commit is contained in:
17
.github/workflows/curl.yaml
vendored
17
.github/workflows/curl.yaml
vendored
@@ -1,17 +0,0 @@
|
||||
name: Curl
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deployment:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Deploy Stage
|
||||
id: packagejson
|
||||
uses: fjogeleit/http-request-action@v1
|
||||
with:
|
||||
url: 'https://registry.npmjs.org/@scrypted/server/'
|
||||
method: 'GET'
|
||||
- name: Print
|
||||
run: echo ${{ fromJSON(steps.packagejson.outputs.response).data }}
|
||||
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
@@ -24,6 +24,10 @@ jobs:
|
||||
with:
|
||||
path: server
|
||||
|
||||
- name: Get current date
|
||||
id: date
|
||||
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
|
||||
@@ -54,9 +58,11 @@ jobs:
|
||||
tags: |
|
||||
koush/scrypted:${{ matrix.node }}
|
||||
${{ matrix.node == '16-bullseye' && format('koush/scrypted:{0}', steps.package-version.outputs.current-version) || '' }}
|
||||
${{ matrix.node == '16-bullseye' && format('koush/scrypted:nightly-{0}', steps.date.outputs.date) || '' }}
|
||||
${{ matrix.node == '16-bullseye' && 'koush/scrypted:latest' || '' }}
|
||||
ghcr.io/koush/scrypted:${{ matrix.node }}
|
||||
${{ matrix.node == '16-bullseye' && format('ghcr.io/koush/scrypted:{0}', steps.package-version.outputs.current-version) || '' }}
|
||||
${{ matrix.node == '16-bullseye' && format('ghcr.io/koush/scrypted:nightly-{0}', steps.date.outputs.date) || '' }}
|
||||
${{ matrix.node == '16-bullseye' && 'ghcr.io/koush/scrypted:latest' || '' }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
Reference in New Issue
Block a user