ci: checkout code before creating tag
This commit is contained in:
parent
2ed8fa934d
commit
08ec2b8ea0
1 changed files with 15 additions and 0 deletions
15
.github/workflows/alpha-release.yml
vendored
15
.github/workflows/alpha-release.yml
vendored
|
@ -14,6 +14,9 @@ jobs:
|
|||
tag: ${{ steps.create_tag.outputs.tagname }}
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create Tag
|
||||
id: create_tag
|
||||
uses: butlerlogic/action-autotag@stable
|
||||
|
@ -31,6 +34,18 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Build and push images
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue