Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

depricate

depricate #36

Workflow file for this run

name: docker-build
on:
push:
branches:
- 'master'
- 'main'
repository_dispatch:
types: [ build ]
jobs:
docker:
runs-on: ubuntu-20.04
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-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:
push: true
tags: demostf/demos.tf:latest
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}