Compare commits
2 Commits
a18978d9ec
...
5ee8ada0f7
Author | SHA1 | Date |
---|---|---|
Gertjan Krol | 5ee8ada0f7 | |
Gertjan Krol | d4f9c39cea |
|
@ -17,7 +17,11 @@ jobs:
|
|||
- name: Check out repository
|
||||
uses: actions/checkout@v3
|
||||
- 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
|
||||
uses: actions/docker-build-push@v4
|
||||
with:
|
||||
|
@ -25,5 +29,7 @@ jobs:
|
|||
tags: |
|
||||
${REGISTRY}/${IMAGE_NAMESPACE}:${{ github.ref_name }}
|
||||
${REGISTRY}/${IMAGE_NAMESPACE}:latest
|
||||
env:
|
||||
ACTIONS_RUNTIME_TOKEN: '' #https://gitea.com/gitea/act_runner/issues/119#issuecomment-738294
|
||||
- name: Inspect image
|
||||
run: ${REGISTRY}/${IMAGE_NAMESPACE}:${{ github.ref_name }}
|
||||
|
|
Loading…
Reference in New Issue