Yeuoly 1 år sedan
förälder
incheckning
a97cf6c2ce
2 ändrade filer med 3 tillägg och 12 borttagningar
  1. 1 4
      .github/workflows/build-universal.yml
  2. 2 8
      .github/workflows/build.yml

+ 1 - 4
.github/workflows/build-universal.yml

@@ -17,8 +17,6 @@ jobs:
       runner: ubuntu-latest
       arch: amd64
       arch_label: AMD64
-      DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
-      DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
 
   build-arm64:
     uses: ./.github/workflows/build.yml
@@ -26,5 +24,4 @@ jobs:
       runner: arm64_runner
       arch: arm64
       arch_label: ARM64
-      DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
-      DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
+

+ 2 - 8
.github/workflows/build.yml

@@ -12,12 +12,6 @@ on:
       arch_label:
         required: true
         type: string
-      DOCKERHUB_USER:
-        required: true
-        type: string
-      DOCKERHUB_TOKEN:
-        required: true
-        type: string
 
 jobs:
   build:
@@ -31,8 +25,8 @@ jobs:
       - name: Login to Docker Hub
         uses: docker/login-action@v2
         with:
-          username: ${{ inputs.DOCKERHUB_USER }}
-          password: ${{ inputs.DOCKERHUB_TOKEN }}
+          username: ${{ secrets.DOCKERHUB_USER }}
+          password: ${{ secrets.DOCKERHUB_TOKEN }}
 
       - name: Extract metadata (tags, labels) for Docker
         id: meta