Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
1c36ff8e22 |
36
.github/workflows/docker-build.yml
vendored
36
.github/workflows/docker-build.yml
vendored
@@ -15,14 +15,14 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
# - name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
# uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Log in to Docker Hub
|
# - name: Log in to Docker Hub
|
||||||
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: Log in to Container Registry
|
- name: Log in to Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
@@ -45,14 +45,14 @@ jobs:
|
|||||||
type=raw,value=beta,enable=${{ endsWith(github.ref, '-beta') }}
|
type=raw,value=beta,enable=${{ endsWith(github.ref, '-beta') }}
|
||||||
type=raw,value=latest,enable=${{ !contains(github.ref, '-') }}
|
type=raw,value=latest,enable=${{ !contains(github.ref, '-') }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
# - name: Build and push Docker image
|
||||||
id: build
|
# id: build
|
||||||
uses: docker/build-push-action@v5
|
# uses: docker/build-push-action@v5
|
||||||
with:
|
# with:
|
||||||
context: .
|
# context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
# platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
# push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
# tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
# labels: ${{ steps.meta.outputs.labels }}
|
||||||
build-args: |
|
# build-args: |
|
||||||
VERSION=${{ github.ref_name }}
|
# VERSION=${{ github.ref_name }}
|
||||||
|
Reference in New Issue
Block a user