Continue testing actions
This commit is contained in:
@@ -9,25 +9,24 @@ on:
|
||||
env:
|
||||
REGISTRY: gitea.taco.quest
|
||||
IMAGE_NAME: ${{ gitea.repository }}
|
||||
GITHUB_TOKEN: ""
|
||||
|
||||
jobs:
|
||||
build-and-push-image:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# permissions:
|
||||
# contents: read
|
||||
# packages: write
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4.1.1
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Prepare the container
|
||||
run: curl -fsSL https://get.docker.com -o get-docker.sh && sh ./get-docker.sh
|
||||
|
||||
- name: Log in to registry
|
||||
uses: docker/login-action@v3.0.0
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ gitea.actor }}
|
||||
@@ -35,7 +34,7 @@ jobs:
|
||||
|
||||
- name: Extract metadata for registry
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5.5.0
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
|
||||
|
Reference in New Issue
Block a user