-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mootor
authored and
Mootor
committed
Mar 29, 2024
1 parent
c142c5a
commit f2a64c8
Showing
1 changed file
with
20 additions
and
0 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,20 @@ | ||
--- | ||
on: | ||
push: | ||
branches: ['main'] | ||
tags: ['v*'] | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build-and-push-image: | ||
runs-on: ubuntu-latest | ||
name: A job to build and push a docker image | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- id: build-push | ||
uses: uclahs-cds/tool-Docker-action/build-release@latest | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |