]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[GHA] Increase verbosity for `mount=type=secret`. 2504/head
authors3rj1k <evasive.gyron@gmail.com>
Tue, 25 Jun 2024 15:00:45 +0000 (17:00 +0200)
committers3rj1k <evasive.gyron@gmail.com>
Tue, 25 Jun 2024 15:45:46 +0000 (17:45 +0200)
.github/docker/debian/bookworm/amd64/Dockerfile
.github/docker/debian/bookworm/arm32v7/Dockerfile
.github/docker/debian/bookworm/arm64v8/Dockerfile
.github/docker/debian/bullseye/amd64/Dockerfile
.github/docker/debian/bullseye/arm32v7/Dockerfile
.github/docker/debian/bullseye/arm64v8/Dockerfile
.github/docker/debian/buster/amd64/Dockerfile
.github/docker/debian/buster/arm32v7/Dockerfile
.github/docker/debian/buster/arm64v8/Dockerfile
.github/workflows/build.yml

index 7b1dc8bf38bc97f90279690aefa2808b4c103f1e..3ef7b38b38d77a639a96b1e1cf33630361b1f3e5 100644 (file)
@@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
 # Credentials
 ARG REPO_DOMAIN=freeswitch.signalwire.com
 ARG REPO_USERNAME=user
-ARG REPO_PASSWORD=password
 
 ARG BUILD_NUMBER=42
 ARG GIT_SHA=0000000000
@@ -68,6 +67,7 @@ RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
     printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
     printf "password "               >> /etc/apt/auth.conf && \
     cat /run/secrets/REPO_PASSWORD   >> /etc/apt/auth.conf && \
+    sha512sum /run/secrets/REPO_PASSWORD && \
     curl \
         --fail \
         --netrc-file /etc/apt/auth.conf \
index 08608032a4d0aea5fea874d961d2f4abf2637a55..6259c7e8e9246d1b7561e018e0065823d3969b27 100644 (file)
@@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
 # Credentials
 ARG REPO_DOMAIN=freeswitch.signalwire.com
 ARG REPO_USERNAME=user
-ARG REPO_PASSWORD=password
 
 ARG BUILD_NUMBER=42
 ARG GIT_SHA=0000000000
@@ -68,6 +67,7 @@ RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
     printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
     printf "password "               >> /etc/apt/auth.conf && \
     cat /run/secrets/REPO_PASSWORD   >> /etc/apt/auth.conf && \
+    sha512sum /run/secrets/REPO_PASSWORD && \
     curl \
         --fail \
         --netrc-file /etc/apt/auth.conf \
index e509a587e6de5b33db028fc1d3ec2e496e58c9c7..0df5a178fe3efc89d0485caf31080511b4170c9a 100644 (file)
@@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
 # Credentials
 ARG REPO_DOMAIN=freeswitch.signalwire.com
 ARG REPO_USERNAME=user
-ARG REPO_PASSWORD=password
 
 ARG BUILD_NUMBER=42
 ARG GIT_SHA=0000000000
@@ -68,6 +67,7 @@ RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
     printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
     printf "password "               >> /etc/apt/auth.conf && \
     cat /run/secrets/REPO_PASSWORD   >> /etc/apt/auth.conf && \
+    sha512sum /run/secrets/REPO_PASSWORD && \
     curl \
         --fail \
         --netrc-file /etc/apt/auth.conf \
index 0d11c84dec144b3fcb20eb377b0750adea12abde..56586d338e37e7acc8607e26c0a340902edb655d 100644 (file)
@@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
 # Credentials
 ARG REPO_DOMAIN=freeswitch.signalwire.com
 ARG REPO_USERNAME=user
-ARG REPO_PASSWORD=password
 
 ARG BUILD_NUMBER=42
 ARG GIT_SHA=0000000000
@@ -68,6 +67,7 @@ RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
     printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
     printf "password "               >> /etc/apt/auth.conf && \
     cat /run/secrets/REPO_PASSWORD   >> /etc/apt/auth.conf && \
+    sha512sum /run/secrets/REPO_PASSWORD && \
     curl \
         --fail \
         --netrc-file /etc/apt/auth.conf \
index 7ea36d1bcc922b112098959eddc02ce29d4df71d..24c5804b68f16f4db7d552f431bf1f0e9697c49d 100644 (file)
@@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
 # Credentials
 ARG REPO_DOMAIN=freeswitch.signalwire.com
 ARG REPO_USERNAME=user
-ARG REPO_PASSWORD=password
 
 ARG BUILD_NUMBER=42
 ARG GIT_SHA=0000000000
@@ -68,6 +67,7 @@ RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
     printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
     printf "password "               >> /etc/apt/auth.conf && \
     cat /run/secrets/REPO_PASSWORD   >> /etc/apt/auth.conf && \
+    sha512sum /run/secrets/REPO_PASSWORD && \
     curl \
         --fail \
         --netrc-file /etc/apt/auth.conf \
index ae3429cff72bc32d3c280adf937e14b06945ec5d..f5a6a906c48a90df273db8fb12e3d53c60f1e966 100644 (file)
@@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
 # Credentials
 ARG REPO_DOMAIN=freeswitch.signalwire.com
 ARG REPO_USERNAME=user
-ARG REPO_PASSWORD=password
 
 ARG BUILD_NUMBER=42
 ARG GIT_SHA=0000000000
@@ -68,6 +67,7 @@ RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
     printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
     printf "password "               >> /etc/apt/auth.conf && \
     cat /run/secrets/REPO_PASSWORD   >> /etc/apt/auth.conf && \
+    sha512sum /run/secrets/REPO_PASSWORD && \
     curl \
         --fail \
         --netrc-file /etc/apt/auth.conf \
index 9f3d03f14c8ef5da93e3a03ab9049d19235543a5..8e88ce56e694feb8433ae05f35c965a8c99d1ca4 100644 (file)
@@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
 # Credentials
 ARG REPO_DOMAIN=freeswitch.signalwire.com
 ARG REPO_USERNAME=user
-ARG REPO_PASSWORD=password
 
 ARG BUILD_NUMBER=42
 ARG GIT_SHA=0000000000
@@ -69,6 +68,7 @@ RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
     printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
     printf "password "               >> /etc/apt/auth.conf && \
     cat /run/secrets/REPO_PASSWORD   >> /etc/apt/auth.conf && \
+    sha512sum /run/secrets/REPO_PASSWORD && \
     curl \
         --fail \
         --netrc-file /etc/apt/auth.conf \
index 362c2a6602790beb38043666b9bfd6616c8a6737..9326979622afa41118092d671699826052f288c7 100644 (file)
@@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
 # Credentials
 ARG REPO_DOMAIN=freeswitch.signalwire.com
 ARG REPO_USERNAME=user
-ARG REPO_PASSWORD=password
 
 ARG BUILD_NUMBER=42
 ARG GIT_SHA=0000000000
@@ -68,6 +67,7 @@ RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
     printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
     printf "password "               >> /etc/apt/auth.conf && \
     cat /run/secrets/REPO_PASSWORD   >> /etc/apt/auth.conf && \
+    sha512sum /run/secrets/REPO_PASSWORD && \
     curl \
         --fail \
         --netrc-file /etc/apt/auth.conf \
index ed678405a923e607223ec7240fbca18f3bcb15c0..71aca460522b04189810a7ff1f0ec47243beadc7 100644 (file)
@@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
 # Credentials
 ARG REPO_DOMAIN=freeswitch.signalwire.com
 ARG REPO_USERNAME=user
-ARG REPO_PASSWORD=password
 
 ARG BUILD_NUMBER=42
 ARG GIT_SHA=0000000000
@@ -68,6 +67,7 @@ RUN --mount=type=secret,id=REPO_PASSWORD,required=true \
     printf "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
     printf "password "               >> /etc/apt/auth.conf && \
     cat /run/secrets/REPO_PASSWORD   >> /etc/apt/auth.conf && \
+    sha512sum /run/secrets/REPO_PASSWORD && \
     curl \
         --fail \
         --netrc-file /etc/apt/auth.conf \
index ec183137b4365d59ab0f3c769fa15fb9743c32a1..a3be4b2c2c48b9d16b45cb441f06ee68bdbd1bc6 100644 (file)
@@ -93,7 +93,7 @@ jobs:
       PROXY_URL: ${{ secrets.PROXY_URL }}
       USERNAME: ${{ secrets.USERNAME }}
       TELEPORT_TOKEN: ${{ secrets.TELEPORT_TOKEN }}
-      REPO_USERNAME: 'signalwire'
+      REPO_USERNAME: 'SWUSERNAME'
       REPO_PASSWORD: ${{ secrets.REPOTOKEN }}
 
   meta: