Skip to content

Commit f446356

Browse files
committed
debug
1 parent 481a27a commit f446356

File tree

3 files changed

+16
-107
lines changed

3 files changed

+16
-107
lines changed

.github/workflows/release-docker.yml

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -16,40 +16,27 @@ jobs:
1616
runs-on: ubuntu-latest
1717
environment: 'prod'
1818
steps:
19-
- name: Free Disk Space
20-
run: |
21-
sudo rm -rf /opt/hostedtoolcache
22-
2319
- name: Checkout repository
2420
uses: actions/checkout@v4
2521

26-
- name: Set up Docker Buildx
27-
uses: docker/setup-buildx-action@v3
28-
2922
- name: Login to Docker Hub
3023
uses: docker/login-action@v3
3124
with:
3225
username: ${{ secrets.DOCKERHUB_USERNAME }}
3326
password: ${{ secrets.DOCKERHUB_TOKEN }}
3427

35-
- name: Extract metadata for Docker
36-
id: meta
37-
uses: docker/metadata-action@v5
38-
with:
39-
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
40-
tags: |
41-
type=semver,pattern={{version}}
42-
type=semver,pattern={{major}}.{{minor}}
43-
type=ref,event=branch
44-
type=sha
28+
- name: Set up QEMU
29+
uses: docker/setup-qemu-action@v3
30+
-
31+
name: Set up Docker Buildx
32+
uses: docker/setup-buildx-action@v3
33+
4534

46-
- name: Build and Push Docker Image
47-
uses: docker/build-push-action@v5
35+
- name: Build and push
36+
uses: docker/build-push-action@v6
4837
with:
49-
context: .
50-
file: docker/Dockerfile
51-
push: true
52-
tags: ${{ steps.meta.outputs.tags }}
53-
labels: ${{ steps.meta.outputs.labels }}
54-
cache-from: type=gha
55-
cache-to: type=gha,mode=max
38+
file: docker/Dockerfile
39+
platforms: linux/amd64
40+
push: true
41+
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
42+

.github/workflows/run_tests.yaml

Lines changed: 0 additions & 81 deletions
This file was deleted.

docker/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM busybox
2+
COPY . .
3+

0 commit comments

Comments
 (0)