From b7d526903e0944fa418a8232e54e11e84f9652ac Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 3 Jul 2023 12:08:53 +0200 Subject: [PATCH] build: Push to correct Docker images --- .github/workflows/build-syncthing.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-syncthing.yaml b/.github/workflows/build-syncthing.yaml index 75c05004c..caaefe1df 100644 --- a/.github/workflows/build-syncthing.yaml +++ b/.github/workflows/build-syncthing.yaml @@ -656,10 +656,13 @@ jobs: include: - pkg: syncthing dockerfile: Dockerfile + image: syncthing/syncthing - pkg: strelaysrv dockerfile: Dockerfile.strelaysrv + image: syncthing/relaysrv - pkg: stdiscosrv dockerfile: Dockerfile.stdiscosrv + image: syncthing/discosrv steps: - uses: actions/checkout@v3 with: @@ -705,13 +708,13 @@ jobs: echo Release version, pushing to :latest and version tags major=${version%.*.*} minor=${version%.*} - tags=syncthing/${{ matrix.pkg }}:$version,syncthing/${{ matrix.pkg }}:$major,syncthing/${{ matrix.pkg }}:$minor,syncthing/${{ matrix.pkg }}:latest + tags=${{ matrix.image }}:$version,${{ matrix.image }}:$major,${{ matrix.image }}:$minor,${{ matrix.image }}:latest elif [[ $version == *-rc.@([0-9]|[0-9][0-9]) ]] ; then echo Release candidate, pushing to :rc - tags=syncthing/${{ matrix.pkg }}:rc + tags=${{ matrix.image }}:rc else echo Development version, pushing to :edge - tags=syncthing/${{ matrix.pkg }}:edge + tags=${{ matrix.image }}:edge fi echo "DOCKER_TAGS=$tags" >> $GITHUB_ENV