Skip to content

bump all versions

bump all versions #4

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag lindhagen/terraform-azure-util:$(date +%s)
- name: Log in to Docker Hub
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push the Docker image
run: docker build . --file Dockerfile --tag lindhagen/terraform-azure-util:$(date +%F) && docker push lindhagen/terraform-azure-util:$(date +%F)