Skip to content

Commit f113ba5

Browse files
committed
Omezení workflow na PR komentáře
1 parent df31583 commit f113ba5

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/docker_deploy.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
on:
22
push:
3-
# branches: ['release']
3+
branches:
4+
- master
5+
- release
6+
pull_request:
7+
branches:
8+
- master
9+
- release
410
workflow_dispatch:
511

612
env:
713
REGISTRY: ghcr.io
8-
IMAGE_NAME: roman-dvorak/DOSPORTAL/web
14+
IMAGE_NAME: universalscientifictechnologies/dosportal/web
915

1016
jobs:
1117
build-and-push-image:
@@ -16,20 +22,20 @@ jobs:
1622

1723
steps:
1824
- name: Checkout repository
19-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2026
- name: Log in to the Container registry
21-
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
27+
uses: docker/login-action@v3
2228
with:
2329
registry: ${{ env.REGISTRY }}
2430
username: ${{ github.actor }}
2531
password: ${{ secrets.GITHUB_TOKEN }}
2632
- name: Extract metadata (tags, labels) for Docker
2733
id: meta
28-
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
34+
uses: docker/metadata-action@v5
2935
with:
3036
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3137
- name: Build and push Docker image
32-
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
38+
uses: docker/build-push-action@v6
3339
with:
3440
context: .
3541
file: Dockerfile

0 commit comments

Comments
 (0)