Skip to content

Commit ba0349d

Browse files
author
Daniel Mellum
committed
testing the testing with github actions
1 parent fdbb781 commit ba0349d

File tree

1 file changed

+3
-33
lines changed

1 file changed

+3
-33
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -9,43 +9,13 @@ on:
99
- main
1010

1111
jobs:
12-
build-test-image:
13-
timeout-minutes: 15
14-
runs-on: ubuntu-latest
15-
permissions:
16-
contents: read
17-
packages: write
18-
19-
steps:
20-
- name: Checkout
21-
uses: actions/checkout@v3
22-
23-
- name: Login to Github Packages
24-
uses: docker/login-action@v2
25-
with:
26-
registry: ghcr.io
27-
username: ${{ github.actor }}
28-
password: ${{ secrets.GITHUB_TOKEN }}
29-
30-
- name: Extract metadata (tags, labels) for Docker
31-
id: meta
32-
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
33-
with:
34-
images: ghcr.io/danielme85/lltdb-testbench
35-
36-
- name: Build and push Docker image
37-
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
38-
with:
39-
context: ./docker/php8/
40-
push: true
41-
tags: ${{ steps.meta.outputs.tags }}
42-
labels: ${{ steps.meta.outputs.labels }}
43-
4412
run-test-image:
4513
needs: build-test-image
4614
timeout-minutes: 5
47-
runs-on: ubuntu-latest
4815
container: ghcr.io/danielme85/lltdb-testbench:latest
16+
credentials:
17+
username: ${{ github.actor }}
18+
password: ${{ secrets.GITHUB_TOKEN }}
4919

5020
steps:
5121
- name: Start containers

0 commit comments

Comments
 (0)