Skip to content

fix: userdel spurious ubuntu user stealing uid 1000 (#6) #25

fix: userdel spurious ubuntu user stealing uid 1000 (#6)

fix: userdel spurious ubuntu user stealing uid 1000 (#6) #25

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
tags:
- 'v*.*.*'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Build and publish Docker image
if: github.ref == 'refs/heads/main'
uses: elgohr/Publish-Docker-Github-Action@33a481be3e179353cb7793a92b57cf9a6c985860 # v4
with:
name: powsybl/java
username: powsyblci
password: ${{ secrets.DOCKERHUB_TOKEN }}
tags: "latest"
- name: Broadcast update event
if: github.ref == 'refs/heads/main'
uses: gridsuite/broadcast-event@main
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
organizations: gridsuite
event-type: java_updated
- name: Set env
if: startsWith(github.ref, 'refs/tags/')
run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV # :11, strip 'refs/tags/v'
- name: Build and publish Docker image
if: startsWith(github.ref, 'refs/tags/')
uses: elgohr/Publish-Docker-Github-Action@33a481be3e179353cb7793a92b57cf9a6c985860 # v4
with:
name: powsybl/java
username: powsyblci
password: ${{ secrets.DOCKERHUB_TOKEN }}
tags: "${{ env.RELEASE_VERSION }}"