generated from networkservicemesh/cmd-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* push use-host-ovs docker image with unique image name Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@est.tech> * remove modprobe running from container Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@est.tech>
- Loading branch information
1 parent
e76987b
commit a3f166f
Showing
4 changed files
with
46 additions
and
15 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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
name: docker-push-ghcr-use-host-ovs | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
workflow_run: | ||
types: | ||
- completed | ||
workflows: | ||
- 'automerge' | ||
jobs: | ||
docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v2 | ||
|
||
- name: "Set up Docker Buildx" | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: "Login to GitHub Container Registry" | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Docker meta | ||
id: metaci | ||
uses: docker/metadata-action@v3 | ||
with: | ||
images: ghcr.io/${{ github.repository_owner }}/ci/${{ github.event.repository.name }}-use-host-ovs | ||
tags: | | ||
type=ref,event=pr | ||
type=sha,prefix= | ||
- name: "Build and push for Dockerfile.use-host-ovs" | ||
uses: docker/build-push-action@v2 | ||
with: | ||
file: Dockerfile.use-host-ovs | ||
context: . | ||
push: true | ||
tags: ${{ steps.metaci.outputs.tags }} |
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
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
This file was deleted.
Oops, something went wrong.