Skip to content

Commit

Permalink
Docker: Add :latest tag to production builds and :snapshot for snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Mar 12, 2024
1 parent fb59b25 commit e7f60a5
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ jobs:
- name: Set up JDK 17 for snapshots
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
java-version: "17"
distribution: "temurin"
cache: "maven"
server-id: openconext-snapshots
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand All @@ -66,9 +66,9 @@ jobs:
- name: Set up JDK 17 for releases
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
java-version: "17"
distribution: "temurin"
cache: "maven"
server-id: openconext-releases
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down Expand Up @@ -108,7 +108,6 @@ jobs:
- image: ghcr.io/openconext/openconext-invite/inviteserver
app: server
steps:

- uses: actions/checkout@v4

- name: Download the previous produced artefacts
Expand All @@ -135,6 +134,8 @@ jobs:
latest=false
tags: |
type=ref,event=tag
type=raw,event=tag,value=latest
type=raw,event=workflow_dispatch,value=snapshot
type=semver,pattern={{version}},value=${{ needs.deployment.outputs.version }}
type=sha
Expand Down

0 comments on commit e7f60a5

Please sign in to comment.