Update .gitea/workflows/container-build.yml
This commit is contained in:
@@ -9,24 +9,30 @@ on:
|
|||||||
- operating-systems/**
|
- operating-systems/**
|
||||||
jobs:
|
jobs:
|
||||||
push:
|
push:
|
||||||
name: "container:${{ matrix.operating-systems }}"
|
name: "Build Container Image: container:${{ matrix.operating-systems }}"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
operating-systems:
|
operating-systems:
|
||||||
- debian
|
- debian
|
||||||
|
env:
|
||||||
|
IMAGE_NAME: container
|
||||||
|
REGISTRY: git.anomalous.dev
|
||||||
|
REPO_OWNER: 57_wolve
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
- uses: docker/setup-qemu-action@v1
|
- uses: docker/setup-qemu-action@v1
|
||||||
- uses: docker/setup-buildx-action@v1
|
- uses: docker/setup-buildx-action@v1
|
||||||
with:
|
with:
|
||||||
version: "v0.5.1"
|
version: "v0.5.1"
|
||||||
buildkitd-flags: --debug
|
buildkitd-flags: --debug
|
||||||
- uses: docker/login-action@v1
|
- name: Login to Docker Hub
|
||||||
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.anomalous.dev
|
registry: ${REGISTRY}
|
||||||
username: ${{ gitea.repository_owner }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
- uses: docker/build-push-action@v2
|
- uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -35,4 +41,4 @@ jobs:
|
|||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
git.anomalous.dev/57_Wolve/container:${{ matrix.operating-systems }}
|
${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:${{ matrix.operating-systems }}
|
||||||
Reference in New Issue
Block a user