Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing vuex store function for project actions; updating buildx actions; #248

Merged
merged 1 commit into from
Jan 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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