From af6390d4fe007725879fc557d8e8cf115fed0bfb Mon Sep 17 00:00:00 2001 From: Tyler Auerbeck Date: Fri, 20 Jan 2023 01:17:11 -0500 Subject: [PATCH] Update releaser Signed-off-by: Tyler Auerbeck --- .github/workflows/release.yaml | 32 ++++++++++++++++++++++++++++++++ README.md | 1 - 2 files changed, 32 insertions(+), 1 deletion(-) delete mode 100644 README.md diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 406cb3e..06cd564 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,3 +17,35 @@ jobs: charts_url: "https://auerbecklabs.github.io/charts" repository: "charts" branch: main + + image-build: + runs-on: ubuntu-latest + permissions: + packages: write + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Registry Login + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Docker Metadata + id: metadata + uses: docker/metadata-action@v4 + with: + images: | + ghcr.io/${{ github.repository }} + tags: | + type=ref,event=tag + + - name: Build+Push + uses: docker/build-push-action@v3 + with: + context: . + push: true + tags: ${{ steps.metadata.outputs.tags }} diff --git a/README.md b/README.md deleted file mode 100644 index 6df4eb1..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -# main-project \ No newline at end of file