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