Преглед на файлове

Disable push to docker hub

tags/v2.1.8^2
9seconds преди 2 месеца
родител
ревизия
afbf4f6f74
променени са 1 файла, в които са добавени 27 реда и са изтрити 27 реда
  1. 27
    27
      .github/workflows/ci.yaml

+ 27
- 27
.github/workflows/ci.yaml Целия файл

@@ -151,30 +151,30 @@ jobs:
151 151
           key: ${{ runner.os }}-buildx-${{ github.sha }}
152 152
           restore-keys: |
153 153
             ${{ runner.os }}-buildx-
154
-
155
-      - name: Login to DockerHub
156
-        if: github.event_name != 'pull_request'
157
-        uses: docker/login-action@v1
158
-        with:
159
-          username: ${{ secrets.DOCKERHUB_USERNAME }}
160
-          password: ${{ secrets.DOCKERHUB_PASSWORD }}
161
-
162
-      - name: Login to GHCR.io
163
-        if: github.event_name != 'pull_request'
164
-        uses: docker/login-action@v1
165
-        with:
166
-          registry: ghcr.io
167
-          username: ${{ github.repository_owner }}
168
-          password: ${{ secrets.GH_PAT }}
169
-
170
-      - name: Build and push
171
-        uses: docker/build-push-action@v2
172
-        with:
173
-          pull: true
174
-          context: .
175
-          platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6
176
-          push: ${{ github.event_name != 'pull_request' }}
177
-          tags: ${{ steps.docker_meta.outputs.tags }}
178
-          labels: ${{ steps.docker_meta.outputs.labels }}
179
-          cache-from: type=local,src=/tmp/buildx-cache
180
-          cache-to: type=local,dest=/tmp/buildx-cache
154
+      #
155
+      # - name: Login to DockerHub
156
+      #   if: github.event_name != 'pull_request'
157
+      #   uses: docker/login-action@v1
158
+      #   with:
159
+      #     username: ${{ secrets.DOCKERHUB_USERNAME }}
160
+      #     password: ${{ secrets.DOCKERHUB_PASSWORD }}
161
+      #
162
+      # - name: Login to GHCR.io
163
+      #   if: github.event_name != 'pull_request'
164
+      #   uses: docker/login-action@v1
165
+      #   with:
166
+      #     registry: ghcr.io
167
+      #     username: ${{ github.repository_owner }}
168
+      #     password: ${{ secrets.GH_PAT }}
169
+      #
170
+      # - name: Build and push
171
+      #   uses: docker/build-push-action@v2
172
+      #   with:
173
+      #     pull: true
174
+      #     context: .
175
+      #     platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6
176
+      #     push: ${{ github.event_name != 'pull_request' }}
177
+      #     tags: ${{ steps.docker_meta.outputs.tags }}
178
+      #     labels: ${{ steps.docker_meta.outputs.labels }}
179
+      #     cache-from: type=local,src=/tmp/buildx-cache
180
+      #     cache-to: type=local,dest=/tmp/buildx-cache

Loading…
Отказ
Запис