test workflow build and push on gitea registry
Build and Push Docker Image / test (push) Failing after 9s Details

This commit is contained in:
Nicolas CARON 2024-03-15 11:44:59 +01:00
parent f1c77bfebf
commit 62a756d2f3
1 changed files with 11 additions and 19 deletions

View File

@ -22,35 +22,27 @@ jobs:
run: |
pwd
ls -la
- name: test
image: ghcr.io/catthehacker/ubuntu:act-latest
imagePullPolicy: Always
- name: Install Docker
run: |
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce
docker --version
pwd
ls -la
- name: Login to Docker Registry
image: ghcr.io/catthehacker/ubuntu:act-latest
imagePullPolicy: Always
uses: docker/login-action@v2
with:
registry: git.coopgo.io
username: ncaron
password: 6744954b4a3a43422e62e8d110f90de527ce094d
- name: runner
image: docker:20.10.7
imagePullPolicy: Always
run: |
docker --version
dockerd &
pwd
ls -la
docker buildx build -t git.coopgo.io/coopgo-platform/mobility-accounts:test .
- name: Docker Build
run: |
docker build -t git.coopgo.io/coopgo-platform/mobility-accounts:test --build-arg ACCESS_TOKEN
# checkout_repository:
# runs-on:
# group: ubuntu-latest