Skip to content

Commit

Permalink
hee hee replace isn't a thing oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ellitedev committed Dec 14, 2023
1 parent 96aa3a5 commit e81c862
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ jobs:
registry: http://registry.ellite.dev/
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Prepare Docker Image Tag
id: prep
run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//''}
- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v2
with:
push: true
tags: registry.ellite.dev/raibu-web:${{ github.ref }}.replace('refs/tags/', '').replace('/', '-')
tags: registry.ellite.dev/raibu-web:${{ steps.prep.outputs.tag }}
build-args: |
--build-arg RAIBU_DB_HOST=${{ secrets.RAIBU_DB_HOST }}
--build-arg RAIBU_DB_USER=${{ secrets.RAIBU_DB_USER }}
Expand Down

0 comments on commit e81c862

Please sign in to comment.