Add endpoint for volumes of a license #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Debug | |
on: | |
release: | |
types: | |
- published | |
- created | |
push: | |
branches: | |
- '*' | |
tags: | |
- '*' | |
jobs: | |
debug: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Dump GitHub context | |
env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
run: echo "$GITHUB_CONTEXT" | |
- name: Dump job context | |
env: | |
JOB_CONTEXT: ${{ toJson(job) }} | |
run: echo "$JOB_CONTEXT" | |
- name: Dump steps context | |
env: | |
STEPS_CONTEXT: ${{ toJson(steps) }} | |
run: echo "$STEPS_CONTEXT" | |
- name: Dump runner context | |
env: | |
RUNNER_CONTEXT: ${{ toJson(runner) }} | |
run: echo "$RUNNER_CONTEXT" | |
- name: Dump strategy context | |
env: | |
STRATEGY_CONTEXT: ${{ toJson(strategy) }} | |
run: echo "$STRATEGY_CONTEXT" | |
- name: Dump matrix context | |
env: | |
MATRIX_CONTEXT: ${{ toJson(matrix) }} | |
run: echo "$MATRIX_CONTEXT" | |
- name: Get current date | |
id: getbuilddate | |
run: | | |
echo "::set-output name=date::$(date -u)" | |
echo "::set-output name=isodate::$(date -u '+%Y-%m-%dT%H:%M:%S')" | |
echo "::set-output name=tagdate::$(date -u '+%Y%m%d%H%M%S')" | |
echo "::set-output name=timestamp::$(date -u '+%s')" | |
- name: 'Get Previous tag' | |
id: previoustag | |
uses: actions-ecosystem/action-get-latest-tag@v1 | |
with: | |
semver_only: true | |
initial_version: v0.0.0 | |
with_initial_version: true | |
- name: Docker meta | |
id: meta | |
uses: docker/metadata-action@v5 | |
with: | |
images: | | |
registry.sweetrpg.com/sweetrpg-main-web | |
tags: | | |
type=raw,value=latest | |
type=raw,value=${{ steps.previoustag.outputs.tag }} | |
type=raw,value=${{ steps.getbuilddate.outputs.date }} | |
type=ref,event=branch | |
type=ref,event=tag | |
type=semver,pattern={{version}} | |
type=semver,pattern={{major}}.{{minor}} | |
type=semver,pattern={{major}} | |
type=sha |