Moved to official docker github actions for docker-image-build

This commit is contained in:
Alejandro Celaya 2020-11-10 19:25:20 +01:00
parent b9213952d3
commit 18bccab27a

View file

@ -13,12 +13,16 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Install buildx - name: Set up QEMU
id: buildx uses: docker/setup-qemu-action@v1
uses: crazy-max/ghaction-docker-buildx@v1 - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with: with:
buildx-version: latest version: latest
- name: Login to docker hub - name: Login to docker hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build the image - name: Build the image
run: bash ./scripts/docker/build run: bash ./scripts/docker/build