Fix tagging
authorDavid Taylor <david@taylorhq.com>
Fri, 30 Dec 2022 20:11:52 +0000 (20:11 +0000)
committerRafael dos Santos Silva <xfalcox@gmail.com>
Mon, 2 Jan 2023 14:58:49 +0000 (11:58 -0300)
.github/workflows/build.yml

index 9dbf8aa5a8dcf98ef9833adcdbaf8ef445717de4..65f9f07d5e3a40e5b5903198bce4d099cfbc629a 100644 (file)
@@ -137,11 +137,10 @@ jobs:
             --tag discourse/base:aarch64-slim
           docker tag discourse/base:aarch64-slim localhost:5000/discourse/base:aarch64-slim
           docker push localhost:5000/discourse/base:aarch64-slim
-      - name: release slim image as release
+      - name: tag slim image as release
         working-directory: image/base
         run: |
-          docker tag discourse/base:aarch64 localhost:5000/discourse/base:aarch64-slim
-          docker push localhost:5000/discourse/base:aarch64
+          docker tag discourse/base:aarch64-slim discourse/base:aarch64
       - name: Print summary
         run: docker images discourse/base
       - name: push to dockerhub