Skip to content

Commit

Permalink
docker auth2
Browse files Browse the repository at this point in the history
  • Loading branch information
mimimix committed Jan 15, 2024
1 parent 7e32844 commit 27f1e3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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:
Expand Down

0 comments on commit 27f1e3d

Please sign in to comment.