Skip to content

Commit

Permalink
using humanitec action
Browse files Browse the repository at this point in the history
  • Loading branch information
lornest committed Dec 15, 2023
1 parent ecc1167 commit ef1632f
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/server-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,8 @@ jobs:
push: true
tags: lornest/digits:latest

- name: Run curl command
run: |
curl --request POST "https://api.humanitec.io/orgs/gl-uki/artefact-versions" \
--header "Authorization: Bearer ${{ secrets.HUMANITEC_TOKEN }}" \
--header "Content-Type: application/json" \
--data-raw '{
"name": "digits-server",
"version": "'${{ github.sha }}'",
"type": "container",
"commit": "'${{ github.sha }}'",
"ref": "'${{ github.ref }}'"
}'
- name: Push to Humanitec
uses: humanitec/build-push-to-humanitec@v1
with:
humanitec-token: ${{ secrets.HUMANITEC_TOKEN }}
organisation: gl-uki

0 comments on commit ef1632f

Please sign in to comment.