diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index e4e5c672..84e3e015 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -7,10 +7,8 @@ name: Docker on: push: - branches: [ "master" ] - tags: [ '*.*.*' ] - pull_request: - branches: [ "master" ] + tags: + - "*" env: # Use docker.io for Docker Hub if empty @@ -18,10 +16,8 @@ env: # github.repository as / IMAGE_NAME: ${{ github.repository }} - jobs: build: - runs-on: ubuntu-latest permissions: contents: read @@ -40,7 +36,7 @@ jobs: if: github.event_name != 'pull_request' uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 #v3.5.0 with: - cosign-release: 'v2.2.4' + cosign-release: "v2.2.4" # Set up BuildKit Docker container builder to be able to build # multi-platform images and export cache diff --git a/.github/workflows/release-plugin.yml b/.github/workflows/release-plugin.yml index da09d006..5187a103 100644 --- a/.github/workflows/release-plugin.yml +++ b/.github/workflows/release-plugin.yml @@ -28,7 +28,7 @@ jobs: run: | cd backend cargo install wasm-pack - wasm-pack build sync_lib --features wee_alloc + wasm-pack build --target web sync_lib --features wee_alloc - name: Build plugin run: | diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 029b3f5b..d4d82026 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -21,7 +21,7 @@ jobs: run: | rustup install nightly rustup default nightly - rustup component add clippy + rustup component add clippy rustfmt cargo install sqlx-cli cd backend sqlx database create --database-url sqlite://db.sqlite3