diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3ac46ab..44ce371 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,6 +6,8 @@ name: Automatic Build on: # Triggers the workflow on push or pull request events but only for the "master" branch push: + tags: + - "26*" # branches: [ "master" ] # Allows you to run this workflow manually from the Actions tab @@ -23,11 +25,13 @@ jobs: - uses: actions/checkout@v3 - name: Build and Publish Tag Docker image - uses: VaultVulp/gp-docker-action@1.2.0 + uses: VaultVulp/gp-docker-action@1.6.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} # Provide GITHUB_TOKEN to login into the GitHub Packages image-name: nextcloud # Provide only Docker image name extract-git-tag: true # Provide flag to extract Docker image tag from git reference + additional-image-tags: latest + custom-args: --platform=linux/arm64,linux/amd64 # specify target architectures via the # # Steps represent a sequence of tasks that will be executed as part of the job # steps: