From 03e0cd6f339840e71e078003724394ac91f5bec7 Mon Sep 17 00:00:00 2001 From: Patrik Lundin Date: Thu, 27 Jun 2024 15:21:02 +0200 Subject: [PATCH] Try to push container to sunet-cdn org --- .forgejo/workflows/demo.yaml | 7 ++++--- go.mod | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml index bf5209e..02a8f46 100644 --- a/.forgejo/workflows/demo.yaml +++ b/.forgejo/workflows/demo.yaml @@ -10,10 +10,11 @@ jobs: - uses: https://github.com/actions/setup-go@v5 with: go-version: '1.22.4' - - run: echo All Good - uses: https://github.com/ko-build/setup-ko@v0.7 with: version: v0.15.4 - - run: ko build + - run: | + echo "${{ secrets.CI_SUNET_CDN }}" | ko login https://platform.sunet.se --username ci-sunet-cdn --password-stdin + ko build env: - KO_DOCKER_REPO: ko.local + KO_DOCKER_REPO: platform.sunet.se/sunet-cdn diff --git a/go.mod b/go.mod index bc276e2..4cbd61a 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module testgo +module action-runner-testgo go 1.22.4