Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a8dae35cd0 | ||
|
|
b62fb0c4fa |
@@ -4,13 +4,6 @@ runs-on: ubuntu-latest
|
||||
on: [push]
|
||||
image: python:3.10
|
||||
jobs:
|
||||
show-gitea-ref:
|
||||
name: Show Gitea.ref
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Show
|
||||
run: echo "${{ gitea.ref }}"
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
@@ -39,11 +32,11 @@ jobs:
|
||||
repository_host: 192.168.1.2:5000
|
||||
repository_name: ${{ gitea.repository }}
|
||||
repository_version: v1.0
|
||||
tag: ${repository_name}:${repository_version}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build
|
||||
run: |
|
||||
tag=${repository_name}:${repository_version}
|
||||
echo "tagging image with ${tag}"
|
||||
docker build . --file Dockerfile --tag $tag
|
||||
- name: Tag
|
||||
|
||||
Reference in New Issue
Block a user