Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
added gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
arturdobo committed Jun 24, 2024
1 parent f043cc3 commit 1a023c4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release
on:
push:
branches:
- master

jobs:

build:
name: Build docker image
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and Push
uses: docker/build-push-action@v6
with:
context: "{{defaultContext}}:containers/agdmhs"
platforms: linux/amd64,linux/arm64
push: true
tags: deepimpact/agdmhs:${{ github.sha }}

0 comments on commit 1a023c4

Please sign in to comment.