forked from dperson/samba
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This changed in smbd 4.15 and was discussed in dperson#405.
- Loading branch information
1 parent
e468f89
commit 8498c55
Showing
2 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,6 @@ name: Publish OCI image | |
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
push_to_registry: | ||
|
@@ -13,7 +11,17 @@ jobs: | |
- name: Check out the repo | ||
uses: actions/[email protected] | ||
|
||
- name: Check if we need to login and if image should be pushed | ||
id: push_check | ||
run: | | ||
if [[ "${{ github.ref }}" == refs/heads/main ]]; then | ||
echo "::set-output name=push::true" | ||
else | ||
echo "::set-output name=push::false" | ||
fi | ||
- name: Log in to the Container registry | ||
if: ${{ steps.push_check.outputs.push }} | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
|
@@ -24,5 +32,5 @@ jobs: | |
uses: docker/[email protected] | ||
with: | ||
context: . | ||
push: true | ||
push: ${{ steps.push_check.outputs.push }} | ||
tags: "ghcr.io/${{ github.repository }}:latest" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters