Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
arrow-right

GitHub Action

Gimlet Artifact Shipper Action

v0.8.0

Gimlet Artifact Shipper Action

arrow-right

Gimlet Artifact Shipper Action

Ship releasable software artifacts to Gimlet

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Gimlet Artifact Shipper Action

uses: gimlet-io/[email protected]

Learn more about this action in gimlet-io/gimlet-artifact-shipper-action

Choose a version

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:
  shipping-artifact:
    runs-on: ubuntu-latest
    name: "Shipping artifact"
    needs:
    - docker-build
    steps:
    - name: Check out
      uses: actions/checkout@v1
      with:
        fetch-depth: 1
    - name: Shipping release artifact to Gimlet
      id: shipping
      uses: gimlet-io/[email protected]
      env:
        GIMLET_SERVER: ${{ secrets.GIMLET_SERVER }}
        GIMLET_TOKEN: ${{ secrets.GIMLET_TOKEN }}
    - name: Artifact ID
      run: echo "Artifact ID is ${{ steps.shipping.outputs.artifact-id }}"

See on https://gimlet.io/gimletd/creating-artifacts/