Skip to content

Commit

Permalink
Feature/1205440662188218 remove local naming pattern (#151)
Browse files Browse the repository at this point in the history
* updated github action publishanddocker

* switched to ubuntu version 20.04
  • Loading branch information
neutrinoks authored and Jay Pan committed Sep 14, 2023
1 parent 8c859ef commit 4fff99a
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/publishondockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand Down

0 comments on commit 4fff99a

Please sign in to comment.