Skip to content

Commit

Permalink
Merge pull request #10 from AstarNetwork/add/docker-image
Browse files Browse the repository at this point in the history
Create docker-image.yml
  • Loading branch information
ehsanhajian committed Mar 27, 2024
2 parents 9b627a0 + de6bf3a commit f3915d3
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/docker-image.yml
@@ -0,0 +1,28 @@
name: Build and Push Docker image

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Log in to OVH Harbor
uses: docker/login-action@v1
with:
registry: 6410l998.c1.gra9.container-registry.ovh.net
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_PASSWORD }}

- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: 6410l998.c1.gra9.container-registry.ovh.net/unstoppable/unstoppable:latest

0 comments on commit f3915d3

Please sign in to comment.