Skip to content

Commit

Permalink
Adjust GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Oct 10, 2024
1 parent 724e55f commit c65ccb0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Docker Meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
Expand All @@ -37,14 +37,14 @@ jobs:
type=semver,pattern={{major}}
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and Push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
file: docker/Dockerfile
Expand Down
27 changes: 11 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
# This workflow will release a package at npmjs and at GitHub releases

name: Release
name: GitHub Release

on:
push:
tags:
- v*
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
github:
github-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: BARTOC.org ${{ github.ref }}
body: TODO
draft: true
prerelease: false
- name: Create GitHub release
id: create_release
uses: softprops/action-gh-release@v2
with:
name: BARTOC.org ${{ github.ref_name }}
body: TODO
draft: true
prerelease: false

0 comments on commit c65ccb0

Please sign in to comment.