Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
941bdbfc
Commit
941bdbfc
authored
Apr 30, 2025
by
aagaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: use remote docker build host
parent
857d420a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
publish-image.yml
.github/workflows/publish-image.yml
+11
-10
No files found.
.github/workflows/publish-image.yml
View file @
941bdbfc
...
@@ -40,9 +40,6 @@ jobs:
...
@@ -40,9 +40,6 @@ jobs:
-
name
:
Check out the repo
-
name
:
Check out the repo
uses
:
actions/checkout@v4
uses
:
actions/checkout@v4
-
name
:
Set up Docker Buildx
uses
:
docker/setup-buildx-action@v3
# Will automatically make nice tags, see the table here https://github.com/docker/metadata-action#basic
# Will automatically make nice tags, see the table here https://github.com/docker/metadata-action#basic
-
name
:
Docker meta
-
name
:
Docker meta
id
:
meta
id
:
meta
...
@@ -55,13 +52,6 @@ jobs:
...
@@ -55,13 +52,6 @@ jobs:
type=ref,event=tag
type=ref,event=tag
${{ inputs.tags }}
${{ inputs.tags }}
-
name
:
Login to GitHub Container Registry
uses
:
docker/login-action@v2
with
:
registry
:
ghcr.io
username
:
${{ github.actor }}
password
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Add SHORT_SHA env property with commit short sha
-
name
:
Add SHORT_SHA env property with commit short sha
run
:
echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
run
:
echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
...
@@ -73,6 +63,17 @@ jobs:
...
@@ -73,6 +63,17 @@ jobs:
echo "ref_type: $REF_TYPE"
echo "ref_type: $REF_TYPE"
echo "ref_name: $REF_NAME"
echo "ref_name: $REF_NAME"
-
name
:
Setup repo
uses
:
blockscout/actions/.github/actions/setup-multiarch-buildx@no-metadata
id
:
setup
with
:
docker-image
:
ghcr.io/blockscout/frontend
docker-username
:
${{ github.actor }}
docker-password
:
${{ secrets.GITHUB_TOKEN }}
docker-remote-multi-platform
:
true
docker-arm-host
:
${{ secrets.ARM_RUNNER_HOSTNAME }}
docker-arm-host-key
:
${{ secrets.ARM_RUNNER_KEY }}
-
name
:
Build and push
-
name
:
Build and push
uses
:
docker/build-push-action@v5
uses
:
docker/build-push-action@v5
with
:
with
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment