Compare commits

...
Author SHA1 Message Date
Daniel-Garmig 159ee1b004 Gitea Actions Support - Part 2 2024-05-12 02:21:05 +02:00
Daniel-Garmig e7ac0e8af6 Fix dockerfile for Docker Lint action. 2024-05-12 02:16:21 +02:00
3 changed files with 24 additions and 11 deletions
+23
View File
@@ -0,0 +1,23 @@
name: CI
on:
push:
branches:
- main
pull_request: ~
workflow_dispatch: ~
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
name: Docker Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Lint Dockerfile
uses: hadolint/[email protected]
-9
View File
@@ -43,12 +43,3 @@ jobs:
platforms: linux/amd64,linux/arm64
secrets: |
GIT_AUTH_TOKEN=${{secrets.REGISTRY_TOKEN}}
lint:
name: Docker Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Lint Dockerfile
uses: hadolint/[email protected]
+1 -2
View File
@@ -14,8 +14,7 @@ CMD ["npm", "run", "dev"]
# Build app for production.
FROM app-base as builder
RUN npm ci
RUN npm run build
RUN npm ci && npm run build
# production environment
FROM nginx:stable-alpine as final-prod