Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: publish docker image with latest hash FE-835 #354

Merged
merged 3 commits into from
Oct 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,18 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Get short SHA
id: short_sha
run: echo "::set-output name=SHORT_SHA::${GITHUB_SHA::7}"

- name: Build and push multi-arch fuel-bridge image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ghcr.io/fuellabs/fuel-bridge:latest
tags: |
ghcr.io/fuellabs/fuel-bridge:latest
ghcr.io/fuellabs/fuel-bridge:${{ steps.short_sha.outputs.SHORT_SHA }}
file: docker/l1-chain/Dockerfile
platforms: linux/amd64,linux/arm64

Expand All @@ -67,11 +73,17 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Get short SHA
id: short_sha
run: echo "::set-output name=SHORT_SHA::${GITHUB_SHA::7}"

- name: Build and push multi-arch fuel-bridge-full image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ghcr.io/fuellabs/fuel-bridge-full:latest
tags: |
ghcr.io/fuellabs/fuel-bridge-full:latest
ghcr.io/fuellabs/fuel-bridge-full:${{ steps.short_sha.outputs.SHORT_SHA }}
file: docker/full-env/Dockerfile
platforms: linux/amd64,linux/arm64
Loading