Skip to content

Commit

Permalink
Create docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BigDealCompany authored May 31, 2024
1 parent 1fe2f55 commit 7f844bd
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Docker Image CI

on:
push:
branches: [ "live" ]
pull_request:
branches: [ "live" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Build the Docker image
run: docker build . --file Dockerfile --tag ghcr.io/intercroneworldorg/intercroneswap-btt:btt

- name: Login to GitHub Container Registry
run: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}

- name: Push Docker image to GitHub Container Registry
run: docker push ghcr.io/intercroneworldorg/intercroneswap-btt:btt

0 comments on commit 7f844bd

Please sign in to comment.