Merge pull request #4374 from telefonicaid/task/prepare_3.10.1 #150
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build CI Image | |
## Will only run on pushes to the CI folder | |
on: | |
push: | |
paths: | |
- ci/deb/** | |
env: | |
IMAGE_NAME: fiware/orion-ci:deb | |
jobs: | |
deploy: | |
runs-on: ubuntu-22.04 | |
if: github.event_name == 'push' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push | |
id: docker_build | |
uses: docker/build-push-action@v2 | |
with: | |
context: ci/deb/ | |
load: true | |
tags: ${{ env.IMAGE_NAME }} | |
file: ci/deb/Dockerfile | |
- name: Push | |
run: docker push ${{ env.IMAGE_NAME }} |