Prova pipeline 12
Some checks failed
Compila e pubblica sul registro integrato / Build-Docker-Image (push) Failing after 1m8s
Some checks failed
Compila e pubblica sul registro integrato / Build-Docker-Image (push) Failing after 1m8s
This commit is contained in:
@@ -4,7 +4,7 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
Build-Docker-Image:
|
Build-Docker-Image:
|
||||||
runs-on: linux_amd64
|
runs-on: linux_amd64
|
||||||
container: gitea/act_runner
|
container: gitea.laprogrammatriceverde.crabdance.com/verde/gitea-actions
|
||||||
steps:
|
steps:
|
||||||
- name: Login to Docker Registry
|
- name: Login to Docker Registry
|
||||||
run: echo "${{ secrets.REGISTRYTOKEN }}" | docker login "${{ vars.REGISTRY_URL }}" -u "${{ github.repository_owner }}" --password-stdin
|
run: echo "${{ secrets.REGISTRYTOKEN }}" | docker login "${{ vars.REGISTRY_URL }}" -u "${{ github.repository_owner }}" --password-stdin
|
||||||
@@ -16,6 +16,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker build -t ${{ github.repository }}:latest .
|
docker build -t ${{ github.repository }}:latest .
|
||||||
|
|
||||||
- name: Push Docker image
|
- name: Publish Docker image
|
||||||
run: |
|
run: |
|
||||||
|
docker tag "${{ github.repository }}":latest "${{ vars.REGISTRY_URL }}"/"${{ github.repository }}":latest
|
||||||
docker push "${{ github.repository }}:latest"
|
docker push "${{ github.repository }}:latest"
|
||||||
Reference in New Issue
Block a user