Compare commits

...

2 Commits

Author SHA1 Message Date
Gertjan Krol 5ee8ada0f7 Attempt another release fix
Test / test_build (push) Successful in 9s Details
Release / build_push (push) Failing after 12s Details
2023-09-01 23:58:22 +02:00
Gertjan Krol d4f9c39cea Added Docker login action 2023-09-01 23:58:13 +02:00
1 changed files with 7 additions and 1 deletions

View File

@ -17,7 +17,11 @@ jobs:
- name: Check out repository - name: Check out repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Docker login - name: Docker login
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} https://${REGISTRY} uses: actions/docker-login@v2
with:
registry: ${{ REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push - name: Build and push
uses: actions/docker-build-push@v4 uses: actions/docker-build-push@v4
with: with:
@ -25,5 +29,7 @@ jobs:
tags: | tags: |
${REGISTRY}/${IMAGE_NAMESPACE}:${{ github.ref_name }} ${REGISTRY}/${IMAGE_NAMESPACE}:${{ github.ref_name }}
${REGISTRY}/${IMAGE_NAMESPACE}:latest ${REGISTRY}/${IMAGE_NAMESPACE}:latest
env:
ACTIONS_RUNTIME_TOKEN: '' #https://gitea.com/gitea/act_runner/issues/119#issuecomment-738294
- name: Inspect image - name: Inspect image
run: ${REGISTRY}/${IMAGE_NAMESPACE}:${{ github.ref_name }} run: ${REGISTRY}/${IMAGE_NAMESPACE}:${{ github.ref_name }}