Compare commits
14 Commits
8948b67273
...
renovate/a
Author | SHA1 | Date | |
---|---|---|---|
e6b23469c2 | |||
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@v5.0.0
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
10
Dockerfile
10
Dockerfile
@@ -4,8 +4,14 @@ 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 wget -q -O- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash && \
|
||||||
apt-get install -y pipx && \
|
export NVM_DIR="$HOME/.nvm" && \
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \
|
||||||
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" && \
|
||||||
|
nvm install 24 && \
|
||||||
|
add-apt-repository ppa:longsleep/golang-backports && \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get install -y golang-go pipx && \
|
||||||
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