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