update the pipeline
This commit is contained in:
@@ -20,15 +20,18 @@ jobs:
|
|||||||
Create-dockerfile-with-ansible-builder:
|
Create-dockerfile-with-ansible-builder:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
|
- name: List files in the repository
|
||||||
|
run: |
|
||||||
|
ls ${{ gitea.workspace }}
|
||||||
- name: Login to the Container registry
|
- name: Login to the Container registry
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: git.hyperon.be
|
registry: git.hyperon.be
|
||||||
username: bramvandendaele1@gmail.com
|
username: bramvandendaele1@gmail.com
|
||||||
password: ${{ secrets.CI_TOKEN }}
|
password: ${{ secrets.CI_TOKEN }}
|
||||||
build-container-and-push-to-container-registry:
|
|
||||||
runs-on: docker
|
|
||||||
steps:
|
|
||||||
- name: build and push docker image
|
- name: build and push docker image
|
||||||
uses: https://github.com/docker/build-push-action@v5
|
uses: https://github.com/docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user