dev/actions feature: overtime #27
@@ -41,9 +41,9 @@ jobs:
|
||||
path: |
|
||||
/go_path
|
||||
/go_cache
|
||||
key: go_path-${{ steps.hash-go.outputs.hash }}
|
||||
key: arbeitszeitmessung-${{ steps.hash-go.outputs.hash }}
|
||||
restore-keys: |-
|
||||
go_path-${{ steps.hash-go.outputs.hash }}
|
||||
arbeitszeitmessung-${{ steps.hash-go.outputs.hash }}
|
||||
- name: Run Go Tests
|
||||
run: cd Backend && go test ./...
|
||||
build:
|
||||
@@ -59,3 +59,13 @@ jobs:
|
||||
registry: git.letsstein.de
|
||||
username: ${{ gitea.actor }}
|
||||
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