Skip to content

Resolve eternal TODO with ASF API update routine #8323

Resolve eternal TODO with ASF API update routine

Resolve eternal TODO with ASF API update routine #8323

Triggered via push October 12, 2024 19:03
Status Failure
Total duration 8m 46s
Artifacts 4

docker-ci.yml

on: push
Matrix: main
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 3 warnings
main (Release, Dockerfile.Service)
buildx failed with: ERROR: failed to solve: process "/bin/sh -c set -eu\n\n dotnet --info\n\n case \"$TARGETOS\" in\n \"linux\") ;;\n *) echo \"ERROR: Unsupported OS: ${TARGETOS}\"; exit 1 ;;\n esac\n\n case \"$TARGETARCH\" in\n \"amd64\") asf_variant=\"${TARGETOS}-x64\" ;;\n \"arm\") asf_variant=\"${TARGETOS}-${TARGETARCH}\" ;;\n \"arm64\") asf_variant=\"${TARGETOS}-${TARGETARCH}\" ;;\n *) echo \"ERROR: Unsupported CPU architecture: ${TARGETARCH}\"; exit 1 ;;\n esac\n\n if [ -f \"/run/secrets/ASF_PRIVATE_SNK\" ]; then\n base64 -d \"/run/secrets/ASF_PRIVATE_SNK\" > \"resources/ArchiSteamFarm.snk\"\n else\n echo \"WARN: No ASF_PRIVATE_SNK provided!\"\n fi\n\n dotnet publish ArchiSteamFarm -c \"$CONFIGURATION\" -o \"out\" \"-p:ASFVariant=${asf_variant}\" -p:ContinuousIntegrationBuild=true -p:PublishSingleFile=true -p:PublishTrimmed=true -r \"$asf_variant\" --nologo --self-contained\n\n if [ -f \"/run/secrets/STEAM_TOKEN_DUMPER_TOKEN\" ]; then\n STEAM_TOKEN_DUMPER_TOKEN=\"$(cat \"/run/secrets/STEAM_TOKEN_DUMPER_TOKEN\")\"\n\n if [ -n \"STEAM_TOKEN_DUMPER_TOKEN\" ] && [ -f \"ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SharedInfo.cs\" ]; then\n sed -i \"s/STEAM_TOKEN_DUMPER_TOKEN/${STEAM_TOKEN_DUMPER_TOKEN}/g\" \"ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SharedInfo.cs\"\n else\n echo \"WARN: STEAM_TOKEN_DUMPER_TOKEN not applied!\"\n fi\n else\n echo \"WARN: No STEAM_TOKEN_DUMPER_TOKEN provided!\"\n fi\n\n for plugin in $PLUGINS_BUNDLED; do\n dotnet publish \"$plugin\" -c \"$CONFIGURATION\" -o \"out/plugins/$plugin\" \"-p:ASFVariant=${asf_variant}\" -p:ContinuousIntegrationBuild=true -p:UseAppHost=false -r \"$asf_variant\" --nologo\n done\n" did not complete successfully: exit code: 1
main (Release, Dockerfile)
buildx failed with: ERROR: failed to solve: process "/bin/sh -c set -eu\n\n dotnet --info\n\n case \"$TARGETOS\" in\n \"linux\") ;;\n *) echo \"ERROR: Unsupported OS: ${TARGETOS}\"; exit 1 ;;\n esac\n\n case \"$TARGETARCH\" in\n \"amd64\") asf_variant=\"${TARGETOS}-x64\" ;;\n \"arm\") asf_variant=\"${TARGETOS}-${TARGETARCH}\" ;;\n \"arm64\") asf_variant=\"${TARGETOS}-${TARGETARCH}\" ;;\n *) echo \"ERROR: Unsupported CPU architecture: ${TARGETARCH}\"; exit 1 ;;\n esac\n\n if [ -f \"/run/secrets/ASF_PRIVATE_SNK\" ]; then\n base64 -d \"/run/secrets/ASF_PRIVATE_SNK\" > \"resources/ArchiSteamFarm.snk\"\n else\n echo \"WARN: No ASF_PRIVATE_SNK provided!\"\n fi\n\n dotnet publish ArchiSteamFarm -c \"$CONFIGURATION\" -o \"out\" -p:ASFVariant=docker -p:ContinuousIntegrationBuild=true -p:UseAppHost=false -r \"$asf_variant\" --nologo --no-self-contained\n\n if [ -f \"/run/secrets/STEAM_TOKEN_DUMPER_TOKEN\" ]; then\n STEAM_TOKEN_DUMPER_TOKEN=\"$(cat \"/run/secrets/STEAM_TOKEN_DUMPER_TOKEN\")\"\n\n if [ -n \"$STEAM_TOKEN_DUMPER_TOKEN\" ] && [ -f \"ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SharedInfo.cs\" ]; then\n sed -i \"s/STEAM_TOKEN_DUMPER_TOKEN/${STEAM_TOKEN_DUMPER_TOKEN}/g\" \"ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SharedInfo.cs\"\n else\n echo \"WARN: STEAM_TOKEN_DUMPER_TOKEN not applied!\"\n fi\n else\n echo \"WARN: No STEAM_TOKEN_DUMPER_TOKEN provided!\"\n fi\n\n for plugin in $PLUGINS_BUNDLED; do\n dotnet publish \"$plugin\" -c \"$CONFIGURATION\" -o \"out/plugins/$plugin\" -p:ASFVariant=docker -p:ContinuousIntegrationBuild=true -p:UseAppHost=false -r \"$asf_variant\" --nologo\n done\n" did not complete successfully: exit code: 1
Hardcoded passwords: ArchiSteamFarm/SharedInfo.cs#L76
Hardcoded password detected by "discord-client-id" default rule
Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior: Dockerfile#L79
RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/
Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior: Dockerfile.Service#L79
RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Artifacts

Produced during runtime
Name Size
JustArchiNET~ArchiSteamFarm~BSVUTK.dockerbuild
61.5 KB
JustArchiNET~ArchiSteamFarm~Q2V045.dockerbuild
113 KB
JustArchiNET~ArchiSteamFarm~RWUQ04.dockerbuild
119 KB
JustArchiNET~ArchiSteamFarm~YJKCTT.dockerbuild
57.5 KB