From 580aa3d188ad73670164ed2d8aacc6190fb76bc9 Mon Sep 17 00:00:00 2001 From: woblerr Date: Wed, 2 Oct 2024 01:04:04 +0300 Subject: [PATCH] Test CI. --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 11da96b..6294559 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,14 @@ jobs: run: echo ${{ steps.buildx.outputs.platforms }} - name: Run end-to-end tests + env: + GITHUB_USER: ${{ github.actor }} + GITHUB_PKG: ${{ secrets.GUTHUB_CR_PAT }} + DOCKERHUB_USER: ${{ secrets.DOCKEHUB_USER }} + DOCKERHUB_PKG: ${{ secrets.DOCKEHUB_TOKEN }} run: | + echo ${GITHUB_PKG} | docker login ghcr.io -u ${GITHUB_USER} --password-stdin + echo ${DOCKERHUB_PKG} | docker login -u ${DOCKERHUB_USER} --password-stdin make test-e2e - name: Build image and push master tag to ghcr.io and Docker Hub