Skip to content

Commit

Permalink
Comment out Docker workflow for forester
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeytimoshin committed Dec 4, 2024
1 parent 7a467a2 commit f32fc94
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions .github/workflows/forester-build-and-push-to-docr.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
name: Docker Build and Push to DOCR

on:
push:
branches:
- main
pull_request:
branches:
- "**"
paths:
- "forester/**"

jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

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

- name: Login to DigitalOcean Container Registry
uses: docker/login-action@v3
with:
registry: registry.digitalocean.com
username: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
password: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: ./forester/Dockerfile
platforms: linux/amd64
push: true
tags: registry.digitalocean.com/v3-relayer/forester:latest

- name: Inspect image
run: |
docker buildx imagetools inspect registry.digitalocean.com/v3-relayer/forester:latest
#name: Docker Build and Push to DOCR
#
#on:
# push:
# branches:
# - main
# pull_request:
# branches:
# - "**"
# paths:
# - "forester/**"
#
#jobs:
# build-and-push:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
#
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
#
# - name: Login to DigitalOcean Container Registry
# uses: docker/login-action@v3
# with:
# registry: registry.digitalocean.com
# username: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
# password: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
#
# - name: Build and push
# uses: docker/build-push-action@v6
# with:
# context: .
# file: ./forester/Dockerfile
# platforms: linux/amd64
# push: true
# tags: registry.digitalocean.com/v3-relayer/forester:latest
#
# - name: Inspect image
# run: |
# docker buildx imagetools inspect registry.digitalocean.com/v3-relayer/forester:latest

0 comments on commit f32fc94

Please sign in to comment.