Skip to content

Test_05: Writer

Test_05: Writer #24

Workflow file for this run

name: Build and Push Docker image
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Log in to Docker Hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Build the Docker image
run: docker build -f dockers/Dockerfile -t ricoandre/cloud-tools:latest .
- name: Push the Docker image
run: docker push ricoandre/cloud-tools:latest