Skip to content

Commit

Permalink
revert macos
Browse files Browse the repository at this point in the history
  • Loading branch information
vladae36 committed Apr 19, 2024
1 parent a6778d6 commit 974bf84
Showing 1 changed file with 5 additions and 42 deletions.
47 changes: 5 additions & 42 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
@@ -1,64 +1,27 @@
on:
push:
branches: [ main, hyperfridge ]
pull_request:
branches:
- main

on: [push, pull_request]
jobs:
push_to_dockerhub:
name: Build image and push to Docker Hub
name: build image and push to dockerhub
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/checkout@v2

- name: Bootstrap - neeed by LibeuFin to initialize the sub-repositories
- name: Bootstrap - neeed by LibeuFin to inititalize the sub-repositories
run: ./bootstrap

- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3
with:
images: e36io/LibEuFin

- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

push_to_dockerhub_macos:
name: Build image and push to Docker Hub (macOS)
runs-on: macos-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Bootstrap - neeed by LibeuFin to initialize the sub-repositories
run: ./bootstrap

- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3
with:
images: e36io/LibEuFin

- name: Build and push Docker image
uses: docker/build-push-action@v2
Expand Down

0 comments on commit 974bf84

Please sign in to comment.