Merge pull request #2504 from signalwire/gha
[GHA] Increase verbosity for `mount=type=secret`.
This commit is contained in:
commit
987b3404e9
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue