Skip to content

Commit

Permalink
Merge pull request #248 from SelfhostedPro/projects
Browse files Browse the repository at this point in the history
fixing vuex store function for project actions; updating buildx actions;
  • Loading branch information
SelfhostedPro authored Jan 14, 2021
2 parents f1f09dc + 9fe122f commit da142eb
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 89 deletions.
38 changes: 27 additions & 11 deletions .github/workflows/build-devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,31 @@ jobs:
steps:
- name: checkout code
uses: actions/checkout@v2
- name: install buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v1

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Build and push
uses: docker/build-push-action@v2
with:
qemu-version: latest
- name: login to docker hub
run: echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin
- name: build the image
run: |
docker buildx build --push \
--tag selfhostedpro/yacht:devel \
--platform linux/amd64,linux/arm,linux/arm64 .
platforms: linux/amd64,linux/arm64,linux/arm
push: true
tags: |
selfhostedpro/yacht:devel
ghcr.io/selfhostedpro/yacht:devel
26 changes: 0 additions & 26 deletions .github/workflows/build-do.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/build-omv.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/build-vue.yml

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/src/store/modules/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const actions = {
},
ProjectAction({ commit, dispatch }, { Name, Action }) {
commit("setLoading", true);
const url = `/api/compose/actions/${Name}/${Action}`;
const url = `/api/compose/${Name}/actions/${Action}`;
axios
.get(url)
.then(response => {
Expand Down

0 comments on commit da142eb

Please sign in to comment.