ci: Remove url prefix as code.forgejo.org is default anyway
This commit is contained in:
parent
da9a0bca3d
commit
327af5ae2e
1 changed files with 5 additions and 6 deletions
|
@ -10,7 +10,6 @@ on:
|
||||||
- 'Dockerfile'
|
- 'Dockerfile'
|
||||||
- 'Dockerfile.*'
|
- 'Dockerfile.*'
|
||||||
- 'docker-bake.hcl'
|
- 'docker-bake.hcl'
|
||||||
- '.forgejo/workflows/*.yml'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -25,21 +24,21 @@ jobs:
|
||||||
echo "registry=${registry}" >> "$GITHUB_OUTPUT"
|
echo "registry=${registry}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Login to Container Registry
|
- name: Login to Container Registry
|
||||||
uses: https://code.forgejo.org/docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ steps.registry.outputs.registry }}
|
registry: ${{ steps.registry.outputs.registry }}
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.TOKEN }}
|
password: ${{ secrets.TOKEN }}
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: https://code.forgejo.org/docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Extract metadata
|
- name: Extract metadata
|
||||||
id: meta
|
id: meta
|
||||||
uses: https://code.forgejo.org/docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
|
@ -48,7 +47,7 @@ jobs:
|
||||||
type=semver,pattern={{major}}
|
type=semver,pattern={{major}}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: https://code.forgejo.org/docker/bake-action@v6
|
uses: docker/bake-action@v6
|
||||||
with:
|
with:
|
||||||
source: .
|
source: .
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Add table
Reference in a new issue