Skip to content

Commit

Permalink
wip: trying a composite solution to get caching to work better
Browse files Browse the repository at this point in the history
  • Loading branch information
dmzimmerman committed Dec 9, 2024
1 parent 8428ae5 commit 873b69e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 34 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: Push DockerHub Build
name: Build and Push (on main only) DockerHub Build

on:
push:
branches: dockerhub-multiplatform # will be main when merged
# will be conditional on paths when merged
#paths:
# - Makefile
# - Dockerfile.hub
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -37,7 +33,7 @@ jobs:
cache-to: type=gha,mode=max
file: Dockerfile.hub
platforms: linux/amd64,linux/arm64
push: true
push: ${{ github.ref_name == 'dockerhub-multiplatform' }} # will be main when merged
tags: |
freeandfair/sysmlv2-jupyter:latest
freeandfair/sysmlv2-jupyter:${{ steps.sysmlv2-version.outputs.SYSML_VERSION }}
27 changes: 0 additions & 27 deletions .github/workflows/pr.hub.test.yml

This file was deleted.

0 comments on commit 873b69e

Please sign in to comment.