This commit is contained in:
@@ -44,7 +44,7 @@ jobs:
|
||||
uses: https://github.com/Maxyme/get-release-or-tag@v2
|
||||
|
||||
- name: Build
|
||||
run: cargo build --release
|
||||
run: cargo build --target x86_64-unknown-linux-musl --release
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: https://github.com/docker/login-action@v2
|
||||
@@ -53,8 +53,6 @@ jobs:
|
||||
username: ivan
|
||||
password: 5a136cfb23816f0772ac8fc59ba4eec554fe9591
|
||||
|
||||
|
||||
|
||||
- name: Extract metadata (tags, labels) for Docker
|
||||
id: meta
|
||||
uses: https://github.com/docker/metadata-action@v4
|
||||
@@ -68,8 +66,6 @@ jobs:
|
||||
ACTIONS_RUNTIME_TOKEN: ''
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
- name: Deploy to Gitea
|
||||
run: docker push --all-tags ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
|
Reference in New Issue
Block a user