test workflow build and push on gitea registry
This commit is contained in:
parent
9cbce9c764
commit
aa1f12db77
|
@ -15,6 +15,18 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
login_docker_registry:
|
||||
runs-on: ubuntu-latest
|
||||
container: ghcr.io/catthehacker/ubuntu:act-latest
|
||||
|
||||
steps:
|
||||
- name: Login to Docker Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.coopgo.io
|
||||
username: ncaron
|
||||
password: 6744954b4a3a43422e62e8d110f90de527ce094d
|
||||
|
||||
build_and_push_image:
|
||||
runs-on: ubuntu-latest
|
||||
container: docker:latest
|
||||
|
@ -42,21 +54,6 @@ jobs:
|
|||
# run: |
|
||||
# echo "Latest tag found: ${{ steps.get_tags.outputs.latest_tag }}"
|
||||
|
||||
- name: Verify Docker installation
|
||||
run: docker --version
|
||||
|
||||
- name: Login to Docker Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.coopgo.io
|
||||
username: ncaron
|
||||
password: 6744954b4a3a43422e62e8d110f90de527ce094d
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt update
|
||||
apt install -y git
|
||||
|
||||
- name: Clone repository
|
||||
run: |
|
||||
git clone -b dev --depth 1 https://ncaron:6744954b4a3a43422e62e8d110f90de527ce094d@git.coopgo.io/coopgo-platform/mobility-accounts.git .
|
||||
|
|
Loading…
Reference in New Issue