Skip to content

Docker Image CI

Docker Image CI #86

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and push to Docker Hub
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: iublibtech/archives_online
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_AUTH_TOKEN }}
buildargs: SOURCE_COMMIT
tags: "latest,main"
env:
SOURCE_COMMIT: ${{ github.sha }}