Skip to content

[Snyk] Security upgrade eslint from 7.32.0 to 9.0.0 #19

[Snyk] Security upgrade eslint from 7.32.0 to 9.0.0

[Snyk] Security upgrade eslint from 7.32.0 to 9.0.0 #19

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI/CD
# Controls when the action will run.
on:
push:
paths:
- 'jwt/**'
pull_request:
paths:
- 'jwt/**'
jobs:
jwt-generator:
name: JWT Generator
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3
with:
images: bimspot/jwt-generator
tags: |
type=ref,event=branch
type=ref,event=pr
type=raw,value={{branch}}-{{sha}}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
file: jwt/Dockerfile
context: ./jwt
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}