Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
Fix Docker stable CI/CD (attempt no.2) 🐳
Browse files Browse the repository at this point in the history
  • Loading branch information
cofob committed Feb 18, 2022
1 parent a39ef79 commit 2d6c688
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ on:
push:
tags:
- v*.*.*
workflow_dispatch:

jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
Expand All @@ -25,4 +29,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/autodonate:latest
ghcr.io/${{ github.repository_owner }}/autodonate:${GITHUB_REF##*/}
ghcr.io/${{ github.repository_owner }}/autodonate:${{ env.RELEASE_VERSION }}
1 change: 1 addition & 0 deletions .github/workflows/docker-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- 'master'
workflow_dispatch:

jobs:
docker:
Expand Down

0 comments on commit 2d6c688

Please sign in to comment.