Compare commits

...

2 Commits

Author SHA1 Message Date
mightypanders c00453d3d3 push all tags of an image
Compile the repository / compile (pull_request) Successful in 11s Details
2023-06-19 23:26:56 +02:00
mightypanders 8a7973a2e3 compile only on PR 2023-06-19 23:26:41 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
name: Compile the repository
on: [push]
on: [pull_request]
env:
REGISTRY: gitea.brudi.xyz
IMAGE_NAME: ${{ gitea.repository }}

View File

@ -26,4 +26,4 @@ jobs:
- name: Build Container
run: docker build -t "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest" -t "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}".
- name: Push Container
run: docker push "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest"
run: docker push --all-tags "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest"