From 0cef9502619b35b88b37dde2ec0d5ef3ff76a7de Mon Sep 17 00:00:00 2001 From: Torsten Egenolf Date: Fri, 6 Oct 2023 13:32:05 +0200 Subject: [PATCH] feat(ci): test pushing docker packages lowercase --- .github/workflows/ci-main.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index 1689a5f..483ca7b 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -47,16 +47,16 @@ jobs: APP_PACKAGES_USERNAME: ${{ github.actor }} APP_PACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }} - name: docker - run: |- - echo "docker image name: ${APP_PACKAGES_URL}:${APP_VERSION}" - echo "${APP_PACKAGES_PASSWORD}" | docker login "${APP_PACKAGES_URL}" \ - --username "${APP_PACKAGES_USERNAME}" \ - --password-stdin - docker build . \ - --file ./Dockerfile \ - --tag "${APP_PACKAGES_URL}:${APP_VERSION}" - docker push "${APP_PACKAGES_URL}:${APP_VERSION}" + run: >- + echo "${APP_PACKAGES_PASSWORD}" | + docker login "${APP_PACKAGES_URL}" + --username "${APP_PACKAGES_USERNAME}" + --password-stdin; + docker build . + --file ./Dockerfile + --tag "${APP_PACKAGES_URL}:${APP_VERSION}"; + docker push "${APP_PACKAGES_URL}:${APP_VERSION}"; env: - APP_PACKAGES_URL: docker.pkg.github.com/${{ github.repository }}/tng-key-distribution + APP_PACKAGES_URL: ghcr.io/worldhealthorganization/tng-key-distribution/tng-key-distribution APP_PACKAGES_USERNAME: ${{ github.actor }} APP_PACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }}