diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1bf3f8c..0a5b505 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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