Testing more changes
This commit is contained in:
@@ -19,39 +19,40 @@ jobs:
|
|||||||
packages: write
|
packages: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# - name: Prepare the container
|
- name: Prepare the container
|
||||||
# run: curl -fsSL https://get.docker.com -o get-docker.sh && sh ./get-docker.sh
|
run: curl -fsSL https://get.docker.com -o get-docker.sh && sh ./get-docker.sh
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# - name: Set up QEMU
|
- name: Set up QEMU
|
||||||
# uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Build image
|
# - name: Build image
|
||||||
run: |
|
# run: |
|
||||||
buildx build .
|
# buildx build .
|
||||||
# - name: Log in to registry
|
|
||||||
# uses: docker/login-action@v3
|
|
||||||
# with:
|
|
||||||
# registry: ${{ env.REGISTRY }}
|
|
||||||
# username: ${{ gitea.actor }}
|
|
||||||
# password: ${{ secrets.AUTH_TOKEN }}
|
|
||||||
|
|
||||||
# - name: Extract metadata for registry
|
- name: Log in to registry
|
||||||
# id: meta
|
uses: docker/login-action@v3
|
||||||
# uses: docker/metadata-action@v5
|
with:
|
||||||
# with:
|
registry: ${{ env.REGISTRY }}
|
||||||
# images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
username: ${{ gitea.actor }}
|
||||||
# tags: type=raw,value=latest,enable={{is_default_branch}}
|
password: ${{ secrets.AUTH_TOKEN }}
|
||||||
|
|
||||||
# - name: Build and push Docker image
|
- name: Extract metadata for registry
|
||||||
# uses: docker/build-push-action@v5
|
id: meta
|
||||||
# with:
|
uses: docker/metadata-action@v5
|
||||||
# context: .
|
with:
|
||||||
# push: true
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
# tags: ${{ steps.meta.outputs.tags }}
|
tags: type=raw,value=latest,enable={{is_default_branch}}
|
||||||
# labels: ${{ steps.meta.outputs.labels }}
|
|
||||||
|
- name: Build and push Docker image
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
Reference in New Issue
Block a user