fix add checkout and metadata step
Some checks failed
CI / Test (pull_request) Successful in 23s
CD / Test (pull_request) Successful in 1m1s
CD / Build and push (amd64) (pull_request) Successful in 1m0s
CD / Build and push (arm64) (pull_request) Successful in 1m51s
CD / Create manifest (pull_request) Failing after 21s

This commit is contained in:
2025-01-08 12:48:08 +01:00
parent 682adf10a8
commit 255422b55b

View File

@@ -76,12 +76,22 @@ jobs:
- build_and_push
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get Metadata
id: meta
run: |
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}' | tr '[:upper:]' '[:lower:]') >> $GITHUB_OUTPUT
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
- name: Login to Registry
uses: docker/login-action@v2
with:
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Create manifest
run: |
docker manifest create ${{ env.DOCKER_REGISTRY }}/t.behrendt/${{ steps.meta.outputs.REPO_NAME }}:latest \