Skip to content

Commit

Permalink
feat: publish docker image with latest commit hash
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgeron committed Oct 23, 2024
1 parent 27eb7ba commit eb1776c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:
build-fuel-bridge:
name: Build and Push fuel-bridge Image
runs-on: buildjet-4vcpu-ubuntu-2204
if: |
(github.event_name == 'release' && github.event.action == 'published') ||
github.ref == 'refs/heads/main' || github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v3

Expand All @@ -41,16 +38,13 @@ jobs:
with:
context: .
push: true
tags: ghcr.io/fuellabs/fuel-bridge:latest
tags: ghcr.io/fuellabs/fuel-bridge:${{ github.event.pull_request.base.sha }}
file: docker/l1-chain/Dockerfile
platforms: linux/amd64,linux/arm64

build-fuel-bridge-full:
name: Build and Push fuel-bridge-full Image
runs-on: buildjet-4vcpu-ubuntu-2204
if: |
(github.event_name == 'release' && github.event.action == 'published') ||
github.ref == 'refs/heads/main' || github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v3

Expand All @@ -72,6 +66,6 @@ jobs:
with:
context: .
push: true
tags: ghcr.io/fuellabs/fuel-bridge-full:latest
tags: ghcr.io/fuellabs/fuel-bridge-full:${{ github.event.pull_request.base.sha }}
file: docker/full-env/Dockerfile
platforms: linux/amd64,linux/arm64

0 comments on commit eb1776c

Please sign in to comment.