Skip to content

Commit

Permalink
[ci] fix docker image tags not being used properly
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed Apr 8, 2023
1 parent 179975e commit fe4c4b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ReleaseNightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,11 @@ jobs:
cache-to: type=gha,scope=debian
context: .
file: ./distribution/docker/debian/Dockerfile
push: true
tags: |
ghcr.io/charted-dev/charted:${{steps.tag.outputs.major}}.${{steps.tag.outputs.minor}}-nightly,
ghcr.io/charted-dev/charted:${{steps.tag.outputs.major}}-nightly,
ghcr.io/charted-dev/charted:${{steps.tag.output.version}},
ghcr.io/charted-dev/charted:${{steps.tag.outputs.version}},
ghcr.io/charted-dev/charted:nightly
labels: |
org.opencontainers.image.title=charted-server
Expand Down Expand Up @@ -210,10 +211,11 @@ jobs:
cache-to: type=gha,scope=alpine
context: .
file: ./distribution/docker/alpine/Dockerfile
push: true
tags: |
ghcr.io/charted-dev/charted:${{steps.tag.outputs.major}}.${{steps.tag.outputs.minor}}-nightly-alpine,
ghcr.io/charted-dev/charted:${{steps.tag.outputs.major}}-nightly-alpine,
ghcr.io/charted-dev/charted:${{steps.tag.output.version}}-alpine,
ghcr.io/charted-dev/charted:${{steps.tag.outputs.version}}-alpine,
ghcr.io/charted-dev/charted:nightly-alpine
labels: |
org.opencontainers.image.title=charted-server
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ReleaseStable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ jobs:
tags: |
cr.noelware.cloud/charted/server:${{steps.tag.outputs.major}}.${{steps.tag.outputs.minor}},
cr.noelware.cloud/charted/server:${{steps.tag.outputs.major}},
cr.noelware.cloud/charted/server:${{steps.tag.output.version}},
cr.noelware.cloud/charted/server:${{steps.tag.outputs.version}},
cr.noelware.cloud/charted/server:latest,
ghcr.io/charted-dev/charted:${{steps.tag.outputs.major}}.${{steps.tag.outputs.minor}},
ghcr.io/charted-dev/charted:${{steps.tag.outputs.major}},
ghcr.io/charted-dev/charted:${{steps.tag.output.version}},
ghcr.io/charted-dev/charted:${{steps.tag.outputs.version}},
ghcr.io/charted-dev/charted:latest
labels: |
org.opencontainers.image.title=charted-server
Expand Down Expand Up @@ -231,11 +231,11 @@ jobs:
tags: |
cr.noelware.cloud/charted/server:${{steps.tag.outputs.major}}.${{steps.tag.outputs.minor}}-alpine,
cr.noelware.cloud/charted/server:${{steps.tag.outputs.major}}-alpine,
cr.noelware.cloud/charted/server:${{steps.tag.output.version}}-alpine,
cr.noelware.cloud/charted/server:${{steps.tag.outputs.version}}-alpine,
cr.noelware.cloud/charted/server:latest-alpine,
ghcr.io/charted-dev/charted:${{steps.tag.outputs.major}}.${{steps.tag.outputs.minor}}-alpine,
ghcr.io/charted-dev/charted:${{steps.tag.outputs.major}}-alpine,
ghcr.io/charted-dev/charted:${{steps.tag.output.version}}-alpine,
ghcr.io/charted-dev/charted:${{steps.tag.outputs.version}}-alpine,
ghcr.io/charted-dev/charted:latest-alpine
labels: |
org.opencontainers.image.title=charted-server
Expand Down

0 comments on commit fe4c4b5

Please sign in to comment.