Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopocarlini committed Oct 17, 2023
1 parent 08c23b1 commit 1e3210d
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 37 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Release

on:
# Trigger the workflow on push on the main branch
push:
branches:
- master
# Trigger the workflow by dispatching
workflow_dispatch:

jobs:
release:
name: Release
runs-on: ubuntu-22.04

steps:
- name: Checkout
id: checkout
# from https://github.com/actions/checkout/commits/main
uses: actions/checkout@1f9a0c22da41e6ebfa534300ef656657ea2c6707
with:
persist-credentials: false
fetch-depth: 0

- name: Release
id: release
# from https://github.com/cycjimmy/semantic-release-action/commits/main
uses: cycjimmy/semantic-release-action@bdd914ff2423e2792c73475f11e8da603182f32d
with:
semantic_version: 18.0.0
extra_plugins: |
@semantic-release/release-notes-generator@10.0.3
@semantic-release/git@10.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push
id: semver
uses: pagopa/github-actions-template/ghcr-build-push@v1.5.4
with:
tag: ${{ steps.release.outputs.new_release_version }}
github_token: ${{ secrets.GITHUB_TOKEN }}


36 changes: 0 additions & 36 deletions .github/workflows/release_deploy.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:latest
COPY . .

RUN apt-get update -y
RUN apt-get install -y git pip python3 nodejs
RUN apt-get install -y git pip python3 nodejs vim ping

RUN pip install -r requirements.txt

Expand Down

0 comments on commit 1e3210d

Please sign in to comment.