mirror of
https://github.com/d3vyce/teleinfo-exporter.git
synced 2025-04-11 04:00:14 +02:00
fix actions
This commit is contained in:
parent
d246b7f8b7
commit
fd963ebb59
4
.github/workflows/docker-build-version.yml
vendored
4
.github/workflows/docker-build-version.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
- name: Login to Docker registry
|
- name: Login to Docker registry
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
@ -26,4 +26,4 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ env.REGISTRY }}/${{ github.repository }}:latest,${{ env.REGISTRY }}/${{ github.repository }}:${{ github.ref_name }}
|
tags: ghcr.io/${{ github.repository }}:latest,ghcr.io/${{ github.repository }}:${{ github.ref_name }}
|
||||||
|
2
.github/workflows/pypi-build-version.yml
vendored
2
.github/workflows/pypi-build-version.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install --yes python3-setuptools python3-build
|
sudo apt-get install --yes python3-setuptools python3-build python3-venv
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
python3 -m build
|
python3 -m build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user