Skip to content

Commit

Permalink
add github action for docker image release
Browse files Browse the repository at this point in the history
  • Loading branch information
estherk0 committed Feb 8, 2021
1 parent a73843f commit 35e184e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/deploy-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Create and publish a package
on:
release:
types: [published]
jobs:
build-and-push-image:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build container image
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: ${{ github.repository }}/kustomize-helm-transformer
tag_with_sha: true
tag_with_ref: true

0 comments on commit 35e184e

Please sign in to comment.