Skip to content

feat: google analytics (#68) #37

feat: google analytics (#68)

feat: google analytics (#68) #37

Workflow file for this run

name: publish
on:
push:
branches:
- 'main'
jobs:
unit:
name: Publish
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
strategy:
matrix:
include:
- image: cup/cupd:latest
command: publish
- image: cup/flipt:latest
command: hack fliptcup publish
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.21'
- uses: actions/checkout@v3
- name: Install Dagger CLI
env:
DAGGER_VERSION: 0.6.2
working-directory: /usr/local
run: curl -L https://dl.dagger.io/dagger/install.sh | sh
- name: Run Dagger pipeline
env:
CUP_BUILD_REGISTRY: ghcr.io
CUP_BUILD_USERNAME: "${{ github.repository_owner }}"
CUP_BUILD_PASSWORD: "${{ secrets.GITHUB_TOKEN }}"
CUP_BUILD_IMAGE_NAME: ${{ matrix.image }}
run: ./build.sh ${{ matrix.command }}