Skip to content

gimlet-io/gimlet-artifact-shipper-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/