summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2025-04-12 15:43:37 +0200
committerJesper Jensen <jesper@jnsn.dev>2025-04-12 15:43:37 +0200
commit9b72016e761f9ec45075d2451e9c5677f3ba841d (patch)
tree5764cab91dbe6a2689b19d03c6052598584c6551 /.github/workflows
parent0b3fe872239459b31b2ab0e0d7c78d173eea9937 (diff)
Simplify the tag usage a little
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/docker-image.yml9
1 files changed, 3 insertions, 6 deletions
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index b67eb19..a0e6c1b 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -16,12 +16,9 @@ jobs:
submodules: "recursive"
- name: Build the Docker image
- run: docker build . --label "org.opencontainers.image.source=https://github.com/DelusionalLogic/dht" --file Dockerfile --tag ghcr.io/delusionallogic/dht:1.${{ github.run_number }}
-
- - name: Tag as latest
- run: docker tag ghcr.io/delusionallogic/dht:1.${{ github.run_number }} ghcr.io/delusionallogic/dht:latest
+ run: docker build . --label "org.opencontainers.image.source=https://github.com/DelusionalLogic/dht" --file Dockerfile --tag app
- name: Push the image
run: |
- docker push ghcr.io/delusionallogic/dht:1.${{ github.run_number }}
- docker push ghcr.io/delusionallogic/dht:latest
+ docker push app ghcr.io/delusionallogic/dht:1.${{ github.run_number }}
+ docker push app ghcr.io/delusionallogic/dht:latest