Skip to content

Commit

Permalink
Fix deployment issues
Browse files Browse the repository at this point in the history
  • Loading branch information
marchermans committed Nov 11, 2024
1 parent e722c74 commit 785a180
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
- 'master'
tags:
- 'v*'
pull_request:
branches:
- 'master'

env:
# Use docker.io for Docker Hub if empty
Expand Down Expand Up @@ -46,6 +43,8 @@ jobs:
GIT_API_TAGGING: false

publish:
needs:
- tag
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down Expand Up @@ -82,11 +81,10 @@ jobs:
context: .
file: LDTTeam.Authentication.Server/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ needs.tag.outputs.tag }}
labels: ${{ steps.meta.outputs.labels }}

chart:
if: github.event_name != 'pull_request'
needs:
- tag
permissions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.Version }}"
image: "{{ .Values.image.repository }}:v{{ .Values.image.version | default .Chart.Version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
Expand Down
2 changes: 1 addition & 1 deletion Charts/ldtteam-authentication-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ replicaCount: 1
image:
repository: ghcr.io/ldtteam/authentication
pullPolicy: IfNotPresent
tag: master
#tag: ""

imagePullSecrets: []
nameOverride: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

<ItemGroup>
<PackageReference Include="FluffySpoon.AspNet.LetsEncrypt" Version="1.163.0" />
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="5.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.8" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.5">
Expand Down

0 comments on commit 785a180

Please sign in to comment.