Skip to content

Reduce size

Reduce size #45

Workflow file for this run

name: Docker
on:
push:
branches: [ master ]
jobs:
ubuntu-dev:
if: ${{!contains(github.event.head_commit.message, '[skip]')}}
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Clone
uses: actions/checkout@v4
- name: Login Docker
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login GitHub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Buildx
uses: docker/setup-buildx-action@v3
- name: Build
uses: docker/build-push-action@v6
with:
context: .
file: ./resource/Dockerfile
push: true
tags: |
tlcfem/vpmr:latest
ghcr.io/tlcfem/vmpr:latest