[GHA] Increase verbosity for `mount=type=secret`.

This commit is contained in:
s3rj1k 2024-06-25 17:00:45 +02:00
parent 6bf2237153
commit 89a2db91c8
No known key found for this signature in database
10 changed files with 10 additions and 10 deletions

View File

@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
# Credentials # Credentials
ARG REPO_DOMAIN=freeswitch.signalwire.com ARG REPO_DOMAIN=freeswitch.signalwire.com
ARG REPO_USERNAME=user ARG REPO_USERNAME=user
ARG REPO_PASSWORD=password
ARG BUILD_NUMBER=42 ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000 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 "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \ printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \ cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \ curl \
--fail \ --fail \
--netrc-file /etc/apt/auth.conf \ --netrc-file /etc/apt/auth.conf \

View File

@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
# Credentials # Credentials
ARG REPO_DOMAIN=freeswitch.signalwire.com ARG REPO_DOMAIN=freeswitch.signalwire.com
ARG REPO_USERNAME=user ARG REPO_USERNAME=user
ARG REPO_PASSWORD=password
ARG BUILD_NUMBER=42 ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000 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 "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \ printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \ cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \ curl \
--fail \ --fail \
--netrc-file /etc/apt/auth.conf \ --netrc-file /etc/apt/auth.conf \

View File

@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
# Credentials # Credentials
ARG REPO_DOMAIN=freeswitch.signalwire.com ARG REPO_DOMAIN=freeswitch.signalwire.com
ARG REPO_USERNAME=user ARG REPO_USERNAME=user
ARG REPO_PASSWORD=password
ARG BUILD_NUMBER=42 ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000 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 "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \ printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \ cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \ curl \
--fail \ --fail \
--netrc-file /etc/apt/auth.conf \ --netrc-file /etc/apt/auth.conf \

View File

@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
# Credentials # Credentials
ARG REPO_DOMAIN=freeswitch.signalwire.com ARG REPO_DOMAIN=freeswitch.signalwire.com
ARG REPO_USERNAME=user ARG REPO_USERNAME=user
ARG REPO_PASSWORD=password
ARG BUILD_NUMBER=42 ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000 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 "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \ printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \ cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \ curl \
--fail \ --fail \
--netrc-file /etc/apt/auth.conf \ --netrc-file /etc/apt/auth.conf \

View File

@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
# Credentials # Credentials
ARG REPO_DOMAIN=freeswitch.signalwire.com ARG REPO_DOMAIN=freeswitch.signalwire.com
ARG REPO_USERNAME=user ARG REPO_USERNAME=user
ARG REPO_PASSWORD=password
ARG BUILD_NUMBER=42 ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000 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 "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \ printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \ cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \ curl \
--fail \ --fail \
--netrc-file /etc/apt/auth.conf \ --netrc-file /etc/apt/auth.conf \

View File

@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
# Credentials # Credentials
ARG REPO_DOMAIN=freeswitch.signalwire.com ARG REPO_DOMAIN=freeswitch.signalwire.com
ARG REPO_USERNAME=user ARG REPO_USERNAME=user
ARG REPO_PASSWORD=password
ARG BUILD_NUMBER=42 ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000 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 "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \ printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \ cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \ curl \
--fail \ --fail \
--netrc-file /etc/apt/auth.conf \ --netrc-file /etc/apt/auth.conf \

View File

@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
# Credentials # Credentials
ARG REPO_DOMAIN=freeswitch.signalwire.com ARG REPO_DOMAIN=freeswitch.signalwire.com
ARG REPO_USERNAME=user ARG REPO_USERNAME=user
ARG REPO_PASSWORD=password
ARG BUILD_NUMBER=42 ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000 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 "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \ printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \ cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \ curl \
--fail \ --fail \
--netrc-file /etc/apt/auth.conf \ --netrc-file /etc/apt/auth.conf \

View File

@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
# Credentials # Credentials
ARG REPO_DOMAIN=freeswitch.signalwire.com ARG REPO_DOMAIN=freeswitch.signalwire.com
ARG REPO_USERNAME=user ARG REPO_USERNAME=user
ARG REPO_PASSWORD=password
ARG BUILD_NUMBER=42 ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000 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 "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \ printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \ cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \ curl \
--fail \ --fail \
--netrc-file /etc/apt/auth.conf \ --netrc-file /etc/apt/auth.conf \

View File

@ -8,7 +8,6 @@ ARG MAINTAINER_EMAIL="andrey@signalwire.com"
# Credentials # Credentials
ARG REPO_DOMAIN=freeswitch.signalwire.com ARG REPO_DOMAIN=freeswitch.signalwire.com
ARG REPO_USERNAME=user ARG REPO_USERNAME=user
ARG REPO_PASSWORD=password
ARG BUILD_NUMBER=42 ARG BUILD_NUMBER=42
ARG GIT_SHA=0000000000 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 "login ${REPO_USERNAME} " >> /etc/apt/auth.conf && \
printf "password " >> /etc/apt/auth.conf && \ printf "password " >> /etc/apt/auth.conf && \
cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \ cat /run/secrets/REPO_PASSWORD >> /etc/apt/auth.conf && \
sha512sum /run/secrets/REPO_PASSWORD && \
curl \ curl \
--fail \ --fail \
--netrc-file /etc/apt/auth.conf \ --netrc-file /etc/apt/auth.conf \

View File

@ -93,7 +93,7 @@ jobs:
PROXY_URL: ${{ secrets.PROXY_URL }} PROXY_URL: ${{ secrets.PROXY_URL }}
USERNAME: ${{ secrets.USERNAME }} USERNAME: ${{ secrets.USERNAME }}
TELEPORT_TOKEN: ${{ secrets.TELEPORT_TOKEN }} TELEPORT_TOKEN: ${{ secrets.TELEPORT_TOKEN }}
REPO_USERNAME: 'signalwire' REPO_USERNAME: 'SWUSERNAME'
REPO_PASSWORD: ${{ secrets.REPOTOKEN }} REPO_PASSWORD: ${{ secrets.REPOTOKEN }}
meta: meta: