Skip to content

Commit

Permalink
Merge pull request #28 from openinfradev/release-docker-image
Browse files Browse the repository at this point in the history
add github action for docker image release
  • Loading branch information
Esther Kim authored Feb 8, 2021
2 parents a73843f + 35e184e commit 35548ed
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 35548ed

Please sign in to comment.