mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Use github.repository_owner instead of github.actor
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
ba0514543f
commit
8b865eac81
1 changed files with 3 additions and 3 deletions
6
.github/workflows/docker-image.yaml
vendored
6
.github/workflows/docker-image.yaml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
|||
uses: docker/login-action@v2.1.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push Timewarrior Docker image
|
||||
|
@ -45,9 +45,9 @@ jobs:
|
|||
context: .
|
||||
file: "./docker/timew.dockerfile"
|
||||
push: true
|
||||
tags: ${{ env.REGISTRY }}/${{ github.actor }}/timew:${{ github.ref_name }}
|
||||
tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/timew:${{ github.ref_name }}
|
||||
|
||||
- name: Sign the published Docker image
|
||||
env:
|
||||
COSIGN_EXPERIMENTAL: "true"
|
||||
run: cosign sign ${{ env.REGISTRY }}/${{ github.actor }}/timew@${{ steps.build-and-push.outputs.digest }}
|
||||
run: cosign sign ${{ env.REGISTRY }}/${{ github.repository_owner }}/timew@${{ steps.build-and-push.outputs.digest }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue