-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (44 loc) · 1.3 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
name: Create Release
jobs:
tests:
name: "Integration testing"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Build docker image"
run: docker build -t fbuedding/fiware-iot-agent-sdk-test -f ./test.Dockerfile .
- name: "Pull docker images"
run: |
docker pull fiware/iotagent-ul:latest
docker pull mongo:4.2
docker pull fiware/orion:latest
- name: "Run tests"
run: docker compose run iot-agent-sdk-test
build:
permissions: write-all
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
#- uses: actions/checkout@v3
#- name: Create a Release
# uses: elgohr/Github-Release-Action@v5
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# title: ${{github.ref_name}}
#- name: Latest tag
# # You may pin to the exact commit or the version.
# uses: EndBug/[email protected]
# with:
# # Name of the tag or branch to update
# ref: ${{ github.ref }}
# # Tag name
# #tag-name: # optional