Skip to content

debug dockerhub push #6

debug dockerhub push

debug dockerhub push #6

Workflow file for this run

name: Build & Deploy Docker Containers
on:
workflow_dispatch:
inputs:
force_push:
description: 'Force push?'
type: boolean
required: true
default: false
schedule:
- cron: '20 11 * * *'
push:
release:
types: [published]
jobs:
build-test-deploy-docker:
runs-on: ubuntu-latest
env:
registry: ghcr.io
name: Build
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build Container
run: |
tag=v0.6.1
docker build -f container/Dockerfile -t hmritoolbox/hmri:v6.1 .
docker images
# - name: Log in to GitHub Container Registry
# uses: docker/login-action@v2
# with:
# registry: ghcr.io
# username: ${{secrets.RUN_HMRI_DOCKER}}
# password: ${{secrets.GITHUB_TOKEN }}
- name: Log in to Docker Container Registry
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUBUSERNAME }}
password: ${{ secrets.DOCKERTOKEN }}
- name: Deploy Container
run: |
docker image push hmritoolbox/hmri:v6.1