Skip to content

Commit

Permalink
Merge 072beed into a5144cc
Browse files Browse the repository at this point in the history
  • Loading branch information
gregkonush authored Aug 24, 2024
2 parents a5144cc + 072beed commit f1cab16
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docker-build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ on:
branches:
- "main"
tags:
- "v*.*.*"
- "v*"
pull_request:
branches:
- "main"

jobs:
docker:
Expand Down Expand Up @@ -33,13 +36,10 @@ jobs:
gitea.proompteng.ai/d/lab/ecran
gitea.proompteng.ai/d/lab/ledos
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -56,19 +56,19 @@ jobs:
platforms: linux/arm64
context: ./apps/ecran
file: ./apps/ecran/Dockerfile
push: true
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=gitea.proompteng.ai/d/lab/ecran:latest
cache-from: type=registry,ref=gitea.proompteng.ai/d/lab/ecran:main
cache-to: type=inline
- name: Build and push ledos
uses: docker/build-push-action@v5
with:
platforms: linux/arm64
context: ./apps/ledos
file: ./apps/ledos/Dockerfile
push: true
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=gitea.proompteng.ai/d/lab/ledos:latest
cache-from: type=registry,ref=gitea.proompteng.ai/d/lab/ledos:main
cache-to: type=inline
2 changes: 1 addition & 1 deletion apps/ecran/kustomize/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
- name: gitea-registry
containers:
- name: ecran
image: gitea.proompteng.ai/d/lab/ecran:latest
image: gitea.proompteng.ai/d/lab/ecran:main
imagePullPolicy: Always
ports:
- containerPort: 3000
Expand Down

0 comments on commit f1cab16

Please sign in to comment.