Skip to content

Commit

Permalink
add docker build release action
Browse files Browse the repository at this point in the history
  • 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.
20 changes: 20 additions & 0 deletions .github/workflows/Docker-build-release.yaml
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 }}

0 comments on commit f2a64c8

Please sign in to comment.