Skip to content

Commit

Permalink
Add authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
alnoki committed Nov 17, 2024
1 parent 286c7f1 commit f1da7df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/push-processor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,16 @@ jobs:
ARM64_ID=$(docker images -q | grep -v $AMD64_ID | head -n1)
docker tag $ARM64_ID temp-arm64:latest

Check failure on line 78 in .github/workflows/push-processor.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

78:1 [empty-lines] too many blank lines (1 > 0)
echo "${{ secrets.DOCKERHUB_TOKEN }}" | \
docker login -u "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin

Check failure on line 81 in .github/workflows/push-processor.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

81:1 [empty-lines] too many blank lines (1 > 0)
echo "${{ steps.metadata.outputs.tags }}" | while read -r tag; do
if [ ! -z "$tag" ]; then

Check failure on line 84 in .github/workflows/push-processor.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

84:1 [empty-lines] too many blank lines (1 > 0)
echo "Creating manifest for $tag"
docker manifest create $tag \
--amend temp-amd64:latest --amend temp-arm64:latest
docker manifest annotate $tag temp-amd64:latest --os linux --arch amd64
docker manifest annotate $tag temp-arm64:latest --os linux --arch arm64
Expand Down

0 comments on commit f1da7df

Please sign in to comment.