mirror of
https://github.com/nadoo/glider.git
synced 2026-04-24 21:20:12 +08:00
chore: comment out Docker-related steps in build workflow
This commit is contained in:
parent
539439b683
commit
1b278b872d
66
.github/workflows/build.yml
vendored
66
.github/workflows/build.yml
vendored
@ -64,40 +64,40 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Docker - Set up Buildx
|
# - name: Docker - Set up Buildx
|
||||||
id: buildx
|
# id: buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
# uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Docker - Login to DockerHub
|
# - name: Docker - Login to DockerHub
|
||||||
uses: docker/login-action@v3
|
# uses: docker/login-action@v3
|
||||||
with:
|
# with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
# username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
# password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Docker - Login to GHCR
|
# - name: Docker - Login to GHCR
|
||||||
uses: docker/login-action@v3
|
# uses: docker/login-action@v3
|
||||||
with:
|
# with:
|
||||||
registry: ghcr.io
|
# registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
# username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
# password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Docker - Docker meta
|
# - name: Docker - Docker meta
|
||||||
id: meta
|
# id: meta
|
||||||
uses: docker/metadata-action@v5
|
# uses: docker/metadata-action@v5
|
||||||
with:
|
# with:
|
||||||
images: |
|
# images: |
|
||||||
${{ env.DOCKERHUB_REPO }}
|
# ${{ env.DOCKERHUB_REPO }}
|
||||||
${{ env.GHCR_REPO }}
|
# ${{ env.GHCR_REPO }}
|
||||||
tags: |
|
# tags: |
|
||||||
type=ref,event=branch
|
# type=ref,event=branch
|
||||||
type=semver,pattern={{version}}
|
# type=semver,pattern={{version}}
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
# type=semver,pattern={{major}}.{{minor}}
|
||||||
|
|
||||||
- name: Docker - Build and push
|
# - name: Docker - Build and push
|
||||||
uses: docker/build-push-action@v6
|
# uses: docker/build-push-action@v6
|
||||||
with:
|
# with:
|
||||||
context: .
|
# context: .
|
||||||
file: .Dockerfile
|
# file: .Dockerfile
|
||||||
platforms: ${{ env.PLATFORMS }}
|
# platforms: ${{ env.PLATFORMS }}
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
# push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
# tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user