Skip to content

11.6.10

11.6.10 #1

Workflow file for this run

name: Build and Push Docker Image
on:
release:
types: [published]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
# Checkout the repository code
- name: Checkout code
uses: actions/checkout@v3
# Log in to Docker Hub
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
# Build and push Docker image
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: ./web
push: true
tags: |
openenergymonitor/emoncms:latest
openenergymonitor/emoncms:${{ github.event.release.tag_name }}