gitea changes
This commit is contained in:
parent
b68a65386e
commit
e18aacd98b
@ -13,7 +13,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: https://github.com/docker/login-action@v1
|
uses: https://github.com/docker/login-action@v3.3.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
||||||
@ -23,14 +23,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: https://github.com/docker/setup-buildx-action@v1
|
uses: https://github.com/docker/setup-buildx-action@v3.8.0
|
||||||
|
|
||||||
- name: Available platforms
|
- name: Available platforms
|
||||||
run: echo ${{ steps.buildx.outputs.platforms }}
|
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||||
|
|
||||||
- name: Build Docker image and push
|
- name: Build Docker image and push
|
||||||
id: docker_build
|
id: docker_build
|
||||||
uses: https://github.com/docker/build-push-action@v2
|
uses: https://github.com/docker/build-push-action@v6.12.0
|
||||||
with:
|
with:
|
||||||
context: ./
|
context: ./
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
@ -43,29 +43,23 @@ jobs:
|
|||||||
|
|
||||||
build_arm64:
|
build_arm64:
|
||||||
name: Build and Push Docker Image (arm64)
|
name: Build and Push Docker Image (arm64)
|
||||||
runs-on: self-hosted-ubuntu-latest
|
runs-on: self-hosted-ubuntu-arm64-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v1
|
uses: https://github.com/docker/login-action@v3.3.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: https://github.com/docker/setup-qemu-action@v1
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: https://github.com/docker/setup-buildx-action@v1
|
uses: https://github.com/docker/setup-buildx-action@v3.8.0
|
||||||
|
|
||||||
- name: Available platforms
|
|
||||||
run: echo ${{ steps.buildx.outputs.platforms }}
|
|
||||||
|
|
||||||
- name: Build Docker image and push
|
- name: Build Docker image and push
|
||||||
id: docker_build
|
id: docker_build
|
||||||
uses: https://github.com/docker/build-push-action@v2
|
uses: https://github.com/docker/build-push-action@v6.12.0
|
||||||
with:
|
with:
|
||||||
context: ./
|
context: ./
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user