Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 901 Bytes

README.md

File metadata and controls

41 lines (35 loc) · 901 Bytes

Gimlet Artifact Shipper Github Action

Testing locally

docker build -t myaction .
docker run -v $(pwd):/action -it -e GITHUB_REF=refs/tags/alma myaction docker-image=mycompany/myimage:mytag "true"

Usage

name: Build
on:
  push:
    branches:
      - 'main'

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Check out
      uses: actions/checkout@v1
      with:
        fetch-depth: 1
    - name: Build
      run: |
        echo "Here comes your build command"
    - name: Container image
      run: |
        echo "Here you build your container image"
    - name: Deploy with Gimlet
      id: deploy
      uses: gimlet-io/[email protected]
      env:
        GIMLET_SERVER: ${{ secrets.GIMLET_SERVER }}
        GIMLET_TOKEN: ${{ secrets.GIMLET_TOKEN }}

See in action on https://github.com/gimlet-io/github-actions-integration-sample/