Skip to content

Commit

Permalink
cicd: update all CI/CD steps
Browse files Browse the repository at this point in the history
  • Loading branch information
titusjaka committed Apr 24, 2024
1 parent c789c61 commit 6007f94
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/tag.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@
name: "tag:release"
on:
push:
# TODO: delete after debug
branches:
- '**'
tags:
- v*

jobs:
docker-release:
runs-on: ubuntu-latest

permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v4
with:
Expand All @@ -27,8 +26,6 @@ jobs:
images: |
ghcr.io/${{ github.repository }}
tags: |
type=sha,prefix=
type=ref,event=branch
type=semver,pattern={{version}},prefix=v
# Prepare outputs for build-args
Expand Down Expand Up @@ -58,8 +55,8 @@ jobs:
file: ./Dockerfile
push: ${{ github.actor != 'dependabot[bot]' }}
tags: ${{ steps.meta.outputs.tags }}
# cache-from: type=gha
# cache-to: type=gha,mode=max
# cache-from: type=gha
# cache-to: type=gha,mode=max
build-args: |
GITHUB_REPOSITORY=${{ github.repository }}
GIT_BRANCH=${{ github.ref_name }}
Expand Down

0 comments on commit 6007f94

Please sign in to comment.