Skip to content

Merge pull request #50 from Timer2Ticket/24924_remove_mappings #56

Merge pull request #50 from Timer2Ticket/24924_remove_mappings

Merge pull request #50 from Timer2Ticket/24924_remove_mappings #56

Workflow file for this run

name: Create and Publish package
on:
push:
tags:
- v*
jobs:
run-npm-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: npm install and build webpack
run: |
npm install
npm run build
- uses: actions/upload-artifact@main
with:
name: webpack artifacts
path: dist/
build-and-push-image:
runs-on: ubuntu-latest
needs: run-npm-build
steps:
-
name: Checkout
uses: actions/checkout@v2
- name: Get release version
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Login to Github Packages
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build container image
uses: docker/build-push-action@v3
with:
push: true
tags: |
ghcr.io/timer2ticket/timer2ticket-core/timer2ticket-core:${{ env.RELEASE_VERSION }}