Compare commits
14 Commits
8948b67273
...
luke-patch
Author | SHA1 | Date | |
---|---|---|---|
6ef0924064 | |||
bf2e303eb9 | |||
ebfdc64ac0 | |||
02cf25e41c | |||
6fa0e84a07 | |||
1f5e69baf6 | |||
647a9cd207 | |||
438fa92c13 | |||
6c35f6c47d | |||
94cc587dfe | |||
a991dbdfa1 | |||
877e89fc66 | |||
472870b2af | |||
2863c90c61 |
@@ -7,26 +7,26 @@ on:
|
|||||||
- cron: "@weekly"
|
- cron: "@weekly"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sonar:
|
# sonar:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- name: Check out repository code
|
# - name: Check out repository code
|
||||||
uses: actions/checkout@v4.2.2
|
# uses: actions/checkout@v4.2.2
|
||||||
with:
|
# with:
|
||||||
fetch-depth: 0
|
# fetch-depth: 0
|
||||||
|
|
||||||
- uses: hadolint/hadolint-action@v3.1.0
|
# - uses: hadolint/hadolint-action@v3.1.0
|
||||||
with:
|
# with:
|
||||||
dockerfile: Dockerfile
|
# dockerfile: Dockerfile
|
||||||
output-file: hadolint.out
|
# output-file: hadolint.out
|
||||||
format: sonarqube
|
# format: sonarqube
|
||||||
no-fail: true
|
# no-fail: true
|
||||||
|
|
||||||
- name: SonarQube Scan
|
# - name: SonarQube Scan
|
||||||
uses: SonarSource/sonarqube-scan-action@v5.0.0
|
# uses: SonarSource/sonarqube-scan-action@v5.2.0
|
||||||
env:
|
# env:
|
||||||
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
# SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
||||||
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }}
|
# SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }}
|
||||||
|
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
echo "{\"insecure-registries\": [\"${{ vars.PACKAGES_REGISTRY_URL }}\"]}" > /etc/docker/daemon.json
|
echo "{\"insecure-registries\": [\"${{ vars.PACKAGES_REGISTRY_URL }}\"]}" > /etc/docker/daemon.json
|
||||||
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.3.0
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
@@ -4,8 +4,11 @@ LABEL maintainer="Luke Tainton <luke@tainton.uk>"
|
|||||||
|
|
||||||
ENV PIPX_BIN_DIR=/usr/local/bin
|
ENV PIPX_BIN_DIR=/usr/local/bin
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN curl -sL https://deb.nodesource.com/setup_24.x -o /tmp/nodesource_setup.sh && \
|
||||||
apt-get install -y pipx && \
|
chmod +x /tmp/nodesource_setup.sh && /tmp/nodesource_setup.sh && \
|
||||||
|
add-apt-repository ppa:longsleep/golang-backports && \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get install -y golang-go pipx nodejs npm && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
pipx install poetry && \
|
pipx install poetry && \
|
||||||
pipx install uv
|
pipx install uv
|
||||||
|
Reference in New Issue
Block a user