attempt
This commit is contained in:
parent
e18aacd98b
commit
1b283a4947
@ -12,6 +12,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install docker and docker compose
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y docker docker-compose
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: https://github.com/docker/login-action@v3.3.0
|
uses: https://github.com/docker/login-action@v3.3.0
|
||||||
with:
|
with:
|
||||||
@ -43,7 +48,7 @@ jobs:
|
|||||||
|
|
||||||
build_arm64:
|
build_arm64:
|
||||||
name: Build and Push Docker Image (arm64)
|
name: Build and Push Docker Image (arm64)
|
||||||
runs-on: self-hosted-ubuntu-arm64-latest
|
runs-on: self-hosted-ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -53,10 +58,16 @@ jobs:
|
|||||||
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@v3.8.0
|
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@v6.12.0
|
uses: https://github.com/docker/build-push-action@v6.12.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user