-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/1205440662188218 remove local naming pattern (#151)
* updated github action publishanddocker * switched to ubuntu version 20.04
- Loading branch information
1 parent
8c859ef
commit 4fff99a
Showing
1 changed file
with
7 additions
and
12 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 |
---|---|---|
|
@@ -4,22 +4,16 @@ on: | |
branches: | ||
- 'parachain_dev' | ||
tags: | ||
- 'peaq-dev-local-v*' # For the peaq-dev's env in the parchain-launch usage | ||
- 'krest-local-v*' # For the krest env in the parchain-launch usage | ||
- 'peaq-dev-v*' # For the peaq-dev's env in the parchain-launch usage | ||
- 'krest-v*' # For the krest env in the parchain-launch usage | ||
jobs: | ||
push_to_registry: | ||
name: Push Docker image to Docker Hub | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Diskspace | ||
run: | | ||
sudo df -h | ||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf "/usr/local/share/boost" | ||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
sudo df -h | ||
- name: "Free Disk Space (insightsengineering/disk-space-reclaimer)" | ||
uses: insightsengineering/[email protected] | ||
|
||
- name: Check out the repo | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -38,6 +32,7 @@ jobs: | |
type=ref,event=branch | ||
type=ref,event=pr | ||
type=ref,event=tag | ||
- name: Build and push | ||
uses: docker/build-push-action@v3 | ||
with: | ||
|