-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Comment out Docker workflow for forester
- Loading branch information
1 parent
7a467a2
commit f32fc94
Showing
1 changed file
with
41 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |