From 56c91bb122ed5701a24cfdbfa53517592eba508e Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Thu, 23 May 2024 15:47:38 +0200 Subject: [PATCH] test action --- .github/workflows/images.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/images.yaml diff --git a/.github/workflows/images.yaml b/.github/workflows/images.yaml new file mode 100644 index 0000000..7594a7c --- /dev/null +++ b/.github/workflows/images.yaml @@ -0,0 +1,35 @@ +name: images + +on: + push: + branches: + - main + +jobs: + publish: + name: Publish + runs-on: ubuntu-latest + permissions: + packages: write + steps: + - + name: Checkout + uses: actions/checkout@v4 + - + name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + - + uses: actions/setup-go@v2 + with: + go-version: 1.15 + - + uses: imjasonh/setup-crane@v0.1 + - + run: >- + crane cp docker.io/yolean/kafka-keyvalue:7fa31f42731fc20a77988b478a3896732cc3dc88 + ghcr.io/${{ github.repository }}/kafka-keyvalue:7fa31f42731fc20a77988b478a3896732cc3dc88 + ;