Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
tag build
Browse files Browse the repository at this point in the history
  • Loading branch information
severinstampler committed Jan 26, 2022
1 parent b06addf commit a15d527
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: tag workflow for Walt.ID Verifier portal

on:
push:
tags:
- 'v*'

jobs:
ci:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]

steps:
- name: Checkout 🛎
uses: actions/checkout@master

- name: Get yarn cache directory path 🛠
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Cache node_modules 📦
uses: actions/cache@v2.1.6
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
#- name: Run linter 👀
# run: yarn lint

#- name: Run tests 🧪
# run: yarn test --passWithNoTests

- name: Docker Build and Push SNAPSHOT
uses: philpotisk/github-action-docker-build-push@master
env:
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
DOCKER_FILE: Dockerfile
CONTAINER_TAG: ${{ format('waltid/ssikit-verifier-portal:{0}', github.ref_name) }}

0 comments on commit a15d527

Please sign in to comment.