7 Commits

Author SHA1 Message Date
c784657da2 edit build.yml - add metadata step
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m38s
2024-04-03 11:23:59 +02:00
66c87b16ff edit build.yml - back to base
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m34s
2024-04-03 11:15:04 +02:00
284e3c918a edit build.yml - back to base
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m36s
2024-04-03 11:08:35 +02:00
053066b511 edit build.yml - try if for tag
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 38s
2024-04-03 11:04:58 +02:00
b028120e47 edit build.yml - try if for tag
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 37s
2024-04-03 11:03:07 +02:00
d2a8c57274 edit build.yml - try if for tag
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 39s
2024-04-03 10:59:18 +02:00
140d366894 edit build.yml - edit flavor
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 36s
2024-04-03 10:55:13 +02:00

View File

@@ -41,17 +41,22 @@ jobs:
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Extract metadata (tags, labels) for Docker image
id: metadata
uses: docker/metadata-action@v3
with:
images: git.coopgo.io/${{gitea.repository}}
tags: ${{gitea.ref_name}}
flavor: |
latest=auto
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
git.coopgo.io/${{gitea.repository}}:${{gitea.ref_name}}
flavor: |
latest=true
prefix=
suffix=
${{ steps.metadata.outputs.tags }}
build-args: |
ACCESS_TOKEN_USR=${{gitea.actor}}
ACCESS_TOKEN_PWD=${{gitea.token}}