Compare commits
1 Commits
main
...
96747ea720
Author | SHA1 | Date | |
---|---|---|---|
96747ea720 |
@@ -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.2.0
|
uses: SonarSource/sonarqube-scan-action@v5.0.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.3.0
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
- 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,14 +4,8 @@ LABEL maintainer="Luke Tainton <luke@tainton.uk>"
|
|||||||
|
|
||||||
ENV PIPX_BIN_DIR=/usr/local/bin
|
ENV PIPX_BIN_DIR=/usr/local/bin
|
||||||
|
|
||||||
RUN wget -q -O- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash && \
|
RUN apt-get update && \
|
||||||
export NVM_DIR="$HOME/.nvm" && \
|
apt-get install -y pipx && \
|
||||||
[ -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
|
||||||
|
@@ -7,8 +7,8 @@
|
|||||||
],
|
],
|
||||||
"platformCommit": "enabled",
|
"platformCommit": "enabled",
|
||||||
"dependencyDashboardAutoclose": true,
|
"dependencyDashboardAutoclose": true,
|
||||||
"assignAutomerge": false,
|
"assignAutomerge": true,
|
||||||
"assigneesFromCodeOwners": false,
|
"assigneesFromCodeOwners": true,
|
||||||
"rebaseWhen": "behind-base-branch",
|
"rebaseWhen": "behind-base-branch",
|
||||||
"rollbackPrs": true,
|
"rollbackPrs": true,
|
||||||
"labels": [
|
"labels": [
|
||||||
|
Reference in New Issue
Block a user