fix(ci): use plain docker build instead of buildx (runner /dev/null issue)
CI/CD Pipeline / Build & Deploy (push) Failing after 17s
CI/CD Pipeline / Build & Deploy (push) Failing after 17s
This commit is contained in:
@@ -11,23 +11,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: gitlab.impresion3d.pro
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: gitlab.impresion3d.pro/root/davidaragon-portfolio:latest
|
||||
- name: Build and push Docker image
|
||||
run: |
|
||||
docker login gitlab.impresion3d.pro -u "${{ secrets.DOCKER_USERNAME }}" -p "${{ secrets.DOCKER_PASSWORD }}"
|
||||
docker build -t gitlab.impresion3d.pro/root/davidaragon-portfolio:latest .
|
||||
docker push gitlab.impresion3d.pro/root/davidaragon-portfolio:latest
|
||||
|
||||
- name: Deploy to Portainer
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user