diff --git a/.github/workflows/deploy-image.yml b/.github/workflows/deploy-image.yml new file mode 100644 index 0000000..639dba7 --- /dev/null +++ b/.github/workflows/deploy-image.yml @@ -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