Skip to content

Commit 0d8efa6

Browse files
committed
Configure environment
1 parent 09183fe commit 0d8efa6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
VALIDATE_ALL_CODEBASE: true
1818
push:
1919
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) }}
20-
name: Deploy images
20+
environment: Docker Hub
21+
name: Deploy latest image (Docker Hub)
2122
needs: build
2223
runs-on: ubuntu-20.04
2324
steps:

.github/workflows/push-tagged-image.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ on:
77
jobs:
88
push:
99
if: github.event_name == 'release' && github.event.action == 'created'
10-
name: Deploy tagged image
10+
environment: Docker Hub
11+
name: Deploy tagged image (Docker Hub)
1112
needs: build
1213
runs-on: ubuntu-20.04
1314
steps:

0 commit comments

Comments
 (0)