Skip to content

Commit

Permalink
fix workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
dontlaugh committed Sep 11, 2024
1 parent 7102d0b commit f2d3de1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,17 @@ on:
pull_request:

jobs:
test:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run test script
run: ./scripts/test.sh
# TODO: run tests in a container
# test:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v3
# - name: Run test script
# run: ./scripts/test.sh

build:
runs-on: ubuntu-latest
needs: test
env:
QUAY_USERNAME: chroot.club+cro_robot_rw
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
Expand Down
5 changes: 1 addition & 4 deletions scripts/cibuild.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ cmd_container () {

echo $QUAY_PASSWORD | docker login quay.io -u $QUAY_USERNAME --password-stdin
full_tag="quay.io/chroot.club/cro-website:${tag_version}"
docker build \
--build-arg quay_expiration="8w" \
-t $full_tag

docker build --build-arg quay_expiration="8w" -t $full_tag .
}


Expand Down
Empty file modified scripts/test.sh
100644 → 100755
Empty file.

0 comments on commit f2d3de1

Please sign in to comment.