Merge pull request #2504 from signalwire/gha

[GHA] Increase verbosity for `mount=type=secret`.
This commit is contained in:
Andrey Volk 2024-06-25 19:10:43 +03:00 committed by GitHub
commit 987b3404e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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: