Skip to content

Commit

Permalink
CI/CD Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
expaso committed Jan 21, 2024
1 parent c8d4a3f commit 0189909
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ jobs:
# ADDON_NAME=$( cut -c21- <<< ${{ github.repository }} )
# ADDON_VERSION=$( cut -c12- <<< ${{ github.ref }} )
# mkdir -p repository/pgadmin4
# cp -v addon/README.md addon/pgadmin4/config.json addon/pgadmin4/*.png repository/pgadmin4
# cp -v addon/README.md addon/pgadmin4/config.yaml addon/pgadmin4/*.png repository/pgadmin4
# cd repository
# sed -i "s/dev/$ADDON_VERSION/g" pgadmin4/config.json
# sed -i "s/imageaftercd/image/g" pgadmin4/config.json
# sed -i "s/dev/$ADDON_VERSION/g" pgadmin4/config.yaml
# sed -i "s/imageaftercd/image/g" pgadmin4/config.yaml
# git config --local user.email "hans@expaso.nl"
# git config --local user.name "Hans van Essen"
# git add .
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout submodules
shell: bash
Expand All @@ -25,8 +25,8 @@ jobs:
- name: Build image
run: |
sed -i "s/dev/latest/g" pgadmin4/config.json
sed -i "s/imageaftercd/image/g" pgadmin4/config.json
sed -i "s/dev/latest/g" pgadmin4/config.yaml
sed -i "s/imageaftercd/image/g" pgadmin4/config.yaml
docker run --rm --privileged \
-v ~/.docker:/root/.docker \
-v /var/run/docker.sock:/var/run/docker.sock \
Expand Down

0 comments on commit 0189909

Please sign in to comment.