Update dependency axios to v1.7.7 (#724) #362
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: create container | |
on: | |
push: | |
branches: | |
- "master" | |
- "develop" | |
- "berta" | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: ${{ github.repository }} | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Get branch name | |
id: branch-name | |
uses: tj-actions/branch-names@6871f53176ad61624f978536bbf089c574dc19a2 # v8 | |
- name: Log in to the Container registry | |
uses: docker/login-action@7ca345011ac4304463197fac0e56eab1bc7e6af0 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Semantic versioning | |
id: versioning | |
uses: PaulHatch/semantic-version@a8f8f59fd7f0625188492e945240f12d7ad2dca3 # v5.4.0 | |
with: | |
# branch: develop | |
tag_prefix: "v" | |
debug: true | |
major_pattern: "BREAKING CHANGE:" | |
minor_pattern: "feat:" | |
version_format: "v${major}.${minor}.${patch}-${{ steps.branch-name.outputs.current_branch }}+${increment}" | |
- name: Extract metadata (tags, labels) for Docker | |
id: meta | |
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5 | |
with: | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
labels: | | |
org.opencontainers.image.version=${{ steps.versioning.outputs.version }} | |
org.opencontainers.image.source=https://github.com/ILSCeV/Lara | |
tags: | | |
type=ref,event=branch | |
type=ref,event=tag | |
type=semver,pattern={{version}} | |
type=semver,pattern={{raw}} | |
type=raw,value=${{ steps.versioning.outputs.version }} | |
- name: Build and push Docker image | |
uses: docker/build-push-action@5e99dacf67635c4f273e532b9266ddb609b3025a | |
with: | |
context: . | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} |