Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
60e7136bcd
|
@@ -24,17 +24,12 @@ jobs:
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.PUSH_TOKEN }}
|
||||
|
||||
- name: Extract metadata (tags, labels) for
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ${{ gitea.repository }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
id: push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
tags: |
|
||||
$GITHUB_REPOSITORY:${GITHUB_REF#refs/tags/}
|
||||
$GITHUB_REPOSITORY:latest
|
||||
|
Reference in New Issue
Block a user