Skip to content

Commit 52c0aa3

Browse files
authored
Update docker-build-push-to-ghcrio.yaml
1 parent d2d6322 commit 52c0aa3

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/docker-build-push-to-ghcrio.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Build & Publish to ghcr.io
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [main]
67
# pull_request:
@@ -28,6 +29,15 @@ jobs:
2829
id: date
2930
run: echo "DATE_STAMP=$(date +%s)" > "$GITHUB_ENV"
3031

32+
- name: Check env vars
33+
run: echo "$GITHUB_REPOSITORY"
34+
35+
- name: Update env vars
36+
run: echo "GITHUB_REPOSITORY=${GITHUB_REPOSITORY,,}" > "$GITHUB_ENV"
37+
38+
- name: Check updated env vars
39+
run: echo "$GITHUB_REPOSITORY"
40+
3141
- name: Build and push Docker images
3242
uses: iloveitaly/github-action-nixpacks@v1.0
3343
with:

0 commit comments

Comments
 (0)