trying build
This commit is contained in:
@@ -41,9 +41,9 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
/go_path
|
/go_path
|
||||||
/go_cache
|
/go_cache
|
||||||
key: go_path-${{ steps.hash-go.outputs.hash }}
|
key: arbeitszeitmessung-${{ steps.hash-go.outputs.hash }}
|
||||||
restore-keys: |-
|
restore-keys: |-
|
||||||
go_path-${{ steps.hash-go.outputs.hash }}
|
arbeitszeitmessung-${{ steps.hash-go.outputs.hash }}
|
||||||
- name: Run Go Tests
|
- name: Run Go Tests
|
||||||
run: cd Backend && go test ./...
|
run: cd Backend && go test ./...
|
||||||
build:
|
build:
|
||||||
@@ -59,3 +59,13 @@ jobs:
|
|||||||
registry: git.letsstein.de
|
registry: git.letsstein.de
|
||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: git.letsstein.de/tom/arbeitszeitmessung:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user