From 27f1e3dfa5c8c13645ee53290e8d2c988ad024eb Mon Sep 17 00:00:00 2001 From: mimimix Date: Mon, 15 Jan 2024 17:08:55 +0300 Subject: [PATCH] docker auth2 --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a89692..b270697 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,8 +40,8 @@ jobs: - pingserver steps: - name: Log into registry -# run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin - run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u "${{ github.actor }}" --password-stdin + run: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u "${{ github.actor }}" --password-stdin - name: Start build ${{ matrix.target }} uses: actions/checkout@v4 run: | @@ -51,11 +51,11 @@ jobs: docker build -f ./apps/${{ matrix.target }}/Dockerfile \ --tag $IMAGE_NAME \ . -# -t ${{ github.actor }}/testci-${{ matrix.target }}:latest . docker tag $IMAGE_NAME $IMAGE_ID:latest docker push $IMAGE_ID:latest +# -t ${{ github.actor }}/testci-${{ matrix.target }}:latest . # --cache-from type=gha,scope=twir-base:${{ matrix.target }} \ # --cache-to type=gha,mode=max,scope=twir-base:${{ matrix.target }} \ # steps: